[ expat-Bugs-458731 ] Incorrect support for newline characters
noreply@sourceforge.net
noreply@sourceforge.net
Mon Oct 1 14:22:02 2001
Bugs item #458731, was opened at 2001-09-05 07:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=458731&group_id=10127
Category: None
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect support for newline characters
Initial Comment:
I have an embedded VC++ application (Windows CE) that
reads data from an XML file using this parser. If I
have a newline in the text within the tag, the data
read will be everything after the newline.
Example:
<Notes>
This is before the newline.
This is after the newline
</Notes>
The only data read by the parser is: "This is after
the newline". Everything before the newline is
discarded.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-10-01 14:21
Message:
Logged In: YES
user_id=3066
Expat does not automatically collapse contiguous stretches
of data into a single call to the XML_CharacterDataHandler.
Since it does break the data stream at every newline, you
need to make sure you are properly accumulating data as
needed for your application.
(On the other hand, it's nice to know this is being tested
on CE.)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=458731&group_id=10127