Subject: Re: Valid doctype-system output
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 26 May 2005 06:34:49 +0100
|
>>>>> "Jesse" == Jesse Wolff <wolff.jesse@xxxxxxxx> 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
|