Re: character entity references; saxon ie 6.0 differen
the problem is what to XML parsers do if they don't read the specified dtd but do see an entity. Most seem to generate an error, even though the XML spec says that that is not a well-formedness error. Mozilla's XSLT engine for example never gets a chance to be conformant or not in this situation as the XML parser barfs on the input document before XSLT starts. (If there was a cast iron clause in some spec somewhere that could be used to persuade mozilla that this was bad behaviour that would be useful, but it seems to be a grey underspecified area to me)
My interpretation is that the XPath data model simply does not allow unresolved entity references, and therefore an XSLT processor or any other thing built on top of the XPath data model must use a parser that resolves entity references.
Elliotte Rusty Harold elharo@xxxxxxxxxxxxxxx Processing XML with Java (Addison-Wesley, 2002) http://www.cafeconleche.org/books/xmljava http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format