W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2001

<xsl:output doctype-*="x"/>

From: Philip King <emdpek@chron.com>
Date: Fri, 6 Jul 2001 16:32:59 -0400 (EDT)
Message-ID: <3B462072.DC085663@chron.com>
To: xsl-editors@w3.org
Question:

If the ExternalID (either Public or System) is optional in a DOCTYPE
declaration:

(Quoted from http://www.w3.org/TR/REC-xml)
[28]  doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('['
        (markupdecl | DeclSep)* ']' S?)? '>'

[75]  ExternalID ::= 'SYSTEM' S SystemLiteral
        'PUBLIC' S PubidLiteral S SystemLiteral

Then, why isn't the SYSTEM or PUBLIC specifier optional in XSLT?  (Only
doctype-public or doctype-system exist.)

(The only way I know to output a DOCTYPE without a SYSTEM or PUBLIC is
to:
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE X&gt;</xsl:text>

Keep in mind, I mention this only to see if I could hear the sound of
skin crawling.  And possibly to motivate a change in the spec.)



Thanks.

Philip King
Received on Sunday, 8 July 2001 06:36:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT