xsl-list
[Top] [All Lists]

Re: Valid doctype-system output

2005-05-25 22:34:49
"Jesse" == Jesse Wolff <wolff(_dot_)jesse(_at_)gene(_dot_)com> writes:

    Jesse> One XSLT Engine engine I'm using, SAP, outputs the
    Jesse> following with the single quotes and the extra brackets and
    Jesse> carriage return: <?xml version="1.0" encoding="utf-8"?>
    Jesse> <!DOCTYPE cXML SYSTEM
    Jesse> 'http://xml.cxml.org/schemas/cXML/1.2.011/cXML.dtd' [ ]>

    Jesse> Is this a valid doctype declaration for an XSLT processor
    Jesse> to generate?

Yes, although it is somewhat perverse.
I say that because XSLT requires that the internal subset is empty for
method="xml".
To have [ followed by ] with no markup declarations between IS an
empty internal subset, and so is legal, but it seems perverse to
generate an empty internal subset.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>