[ expat-Bugs-447197 ] NULLs as whitespace or character data
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 17 Aug 2001 12:02:47 -0700
Bugs item #447197, was opened at 2001-08-02 07:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=447197&group_id=10127
Category: None
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Keith Tingle (ktingle)
Assigned to: Nobody/Anonymous (nobody)
Summary: NULLs as whitespace or character data
Initial Comment:
We had a nasty bug in a Perl script that embedded NULL
values into our Xml documents.
msxml treated the NULL values as whitespace and
ignored them, Expat will not handle NULL values in the
stream.
Neither seems correct to me as the spec says nothing
about NULLs being treated as whitespace and character
data is anything that is not markup data;
http://www.w3.org/TR/REC-xml#dt-chardata
I know this is esoteric but shouldn't Expat treat
NULLs as character data?
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-08-17 12:02
Message:
Logged In: YES
user_id=3066
The ASCII NUL character is illegal in XML; see section 2.2
of the XML 1.0 recommendation. More MSXML3.0 and the
MSXML4.0 preview releases supposedly fix this if they are
not being used in backward-compatibility mode (i.e., use the
version-specific CLSIDs, and you get conforming behavior).
Classifying this as "not a bug."
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=447197&group_id=10127