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

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

(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
<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.)


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC