Skip to content
Permalink
Browse files

[act] (0) Use XSLT-compat instead of XSLT-generated.

git-svn-id: http://svn.whatwg.org/webapps@2141 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 3, 2008
1 parent 8aa1973 commit 3cb368b70f0d5c0f39b7b1a87759d5ef7535deed
Showing with 13 additions and 13 deletions.
  1. +7 −7 index
  2. +6 −6 source
14 index
@@ -28,7 +28,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 2
<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 3
September 2008</h2>

<p>You can take part in this work. <a
<p class=note>In other words, <code>&lt;!DOCTYPE HTML></code>,
case-insensitively.

<p>For the purposes of XSLT generators, which cannot output HTML markup
<p>For the purposes of XSLT generators that cannot output HTML markup
without a DOCTYPE, a <dfn id=doctype6>DOCTYPE legacy string</dfn> may be
inserted into the DOCTYPE (in the position defined above). This string
must consist of:

<li>A U+0022 QUOTATION MARK or U+0027 APOSTROPHE character.

<li>The literal string "<code titel="">XSLT-generated</code>".
<li>The literal string "<code title="">XSLT-compat</code>".

<li>The same character as in item 8 (a matching U+0022 QUOTATION MARK or
<li>The same character as in item 9 (a matching U+0022 QUOTATION MARK or
U+0027 APOSTROPHE character).
</ol>

<p class=note>In other words, <code>&lt;!DOCTYPE HTML PUBLIC
"XSLT-generated"></code> or <code>&lt;!DOCTYPE HTML PUBLIC
'XSLT-generated'></code>, case-insensitively except for the bit in quotes.
"XSLT-compat"></code> or <code>&lt;!DOCTYPE HTML PUBLIC
'XSLT-compat'></code>, case-insensitively except for the bit in quotes.

<p>The <a href="#doctype6">DOCTYPE legacy string</a> should not be used
unless the document is generated from XSLT.
<p>If the DOCTYPE token's <code title="">name</code> is not an <a
href="#ascii">ASCII case-insensitive</a> match for the string "<code
title="">HTML</code>", or if the token's public identifier is neither
missing nor equal to the string "<code>XSLT-generated</code>", or if the
missing nor equal to the string "<code>XSLT-compat</code>", or if the
token's system identifier is not missing, then there is a <a
href="#parse2">parse error</a>. Conformance checkers may, instead of
reporting this error, switch to a conformance checking mode for another
12 source
<p class="note">In other words, <code>&lt;!DOCTYPE HTML></code>,
case-insensitively.</p>

<p>For the purposes of XSLT generators, which cannot output HTML
<p>For the purposes of XSLT generators that cannot output HTML
markup without a DOCTYPE, a <dfn>DOCTYPE legacy string</dfn> may be
inserted into the DOCTYPE (in the position defined above). This
string must consist of:</p>
<li>A U+0043 LATIN CAPITAL LETTER C or U+0063 LATIN SMALL LETTER C character.</li>
<li>One or more <span title="space character">space characters</span>.</li>
<li>A U+0022 QUOTATION MARK or U+0027 APOSTROPHE character.</li>
<li>The literal string "<code titel="">XSLT-generated</code>".</li>
<li>The same character as in item 8 (a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character).</li>
<li>The literal string "<code title="">XSLT-compat</code>".</li>
<li>The same character as in item 9 (a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character).</li>
</ol>

<p class="note">In other words, <code>&lt;!DOCTYPE HTML PUBLIC
"XSLT-generated"></code> or <code>&lt;!DOCTYPE HTML PUBLIC
'XSLT-generated'></code>, case-insensitively except for the bit in
"XSLT-compat"></code> or <code>&lt;!DOCTYPE HTML PUBLIC
'XSLT-compat'></code>, case-insensitively except for the bit in
quotes.</p>

<p>The <span>DOCTYPE legacy string</span> should not be used unless
<span>ASCII case-insensitive</span> match for the string "<code
title="">HTML</code>", or if the token's public identifier is
neither missing nor equal to the string
"<code>XSLT-generated</code>", or if the token's system identifier
"<code>XSLT-compat</code>", or if the token's system identifier
is not missing, then there is a <span>parse
error</span>. Conformance checkers may, instead of reporting this
error, switch to a conformance checking mode for another language

0 comments on commit 3cb368b

Please sign in to comment.
You can’t perform that action at this time.