This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Microsot parser is OK (Was: Re: Copyright symbol in FOP)
- To: "XSL List" <xsl-list at mulberrytech dot com>
- Subject: Microsot parser is OK (Was: Re: Copyright symbol in FOP)
- From: "Nikolai Grigoriev" <grig at iitp dot ru>
- Date: Thu, 27 Apr 2000 14:47:50 +0400
- References: <200004261632.KAA79322@skew.org> <007a01bfafb7$71fc9d80$9f6bbcd4@grig>
- Reply-To: xsl-list at mulberrytech dot com
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