[Expat-bugs] [ expat-Bugs-1405186 ] LF sent to CharacterDataHandler

SourceForge.net noreply at sourceforge.net
Fri Jan 13 22:15:34 CET 2006


Bugs item #1405186, was opened at 2006-01-13 15:33
Message generated for change (Settings changed) made by sbaker48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1405186&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Sean Baker (sbaker48)
Assigned to: Nobody/Anonymous (nobody)
Summary: LF sent to CharacterDataHandler

Initial Comment:
I just compiled v2.0.0 VC++ on Windows as a static library.

After the data inside a tag is sent to the
CharacterDataHandler, I get one or more calls to the
handler with a length of 1, containing the LF character
(0x0a).

If there is a compiler setting or file encoding setting
that makes this go away, I have not yet found it.

--Sean


----------------------------------------------------------------------

Comment By: Sean Baker (sbaker48)
Date: 2006-01-13 16:05

Message:
Logged In: YES 
user_id=1426840

Sorry, I realise what the problem was now.

There were no line breaks in the data until after the
closing tag, and I had thought I was getting the callback
before I received the EndHandler callback. But it now
appears that I was not, my breakpoint on the end handler had
gotten misplaced.

Everything is functioning properly.


----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2006-01-13 15:55

Message:
Logged In: YES 
user_id=290026

Are there associated line breaks in the input?
If yes, then this is correct behaviour, as required by the
specs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1405186&group_id=10127


More information about the Expat-bugs mailing list