|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Microsot parser is OK (Was: Re: Copyright symbol in FOP)
Hi all, recently, I posted a message about a presumed bug in MSXML parser: > But be careful: MSXML chokes on external entities in DTD ... After a bit more thorough analysis, I have understood that the problem lies with my files, rather than with MS. Their parser chokes on the following entity declarations : <!ENTITY amp "&"> <!ENTITY lt "<"> However, I have re-read the XML spec and discovered a special section on how to redeclare the built-in entities (4.6 "Predefined entities"). I realized that I was wrong in copying the declarations blindly from the HTML 4.0 spec. It should be double-escaped like this: <!ENTITY amp "&#38;"> <!ENTITY lt "&#60;"> With this correction, everything works as it should. My apologies to Jonathan Marsh and Andy Kimball for unjustified accusations. What is strange is that neither XT nor Saxon reported that error. Is it a conformant behaviour? Best regards, Nikolai Grigoriev RenderX 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
|

Cart








