[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)

Subject: Microsot parser is OK (Was: Re: Copyright symbol in FOP)
From: "Nikolai Grigoriev" <grig@xxxxxxx>
Date: Thu, 27 Apr 2000 14:47:50 +0400
ok symbol
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    "&#38;">
<!ENTITY lt     "&#60;">

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;#38;">
<!ENTITY lt     "&#38;#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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.