RE: Doctype cannot be added after a root element

"Michael Kay" <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <44EA888B66E64CAB88022AFD3BF3DE62@Sealion>
> Mickael, is there a reason why Saxon does not notify the DTD 
> through SAXResult?

Saxon ignores xsl:output entirely unless it is serializing the result tree;
and writing to a SAXResult does not count as serializing.

(There are various other aspects of xsl:output that MIGHT make sense with a
SAXResult, for example indent="yes" and cdata-section-elements. It's never
really occurred to me that anyone would expect this to happen. I've
certainly never seen a spec that suggests it should.)

Michael Kay
http://www.saxonica.com/

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.