[Expat-bugs] [ expat-Bugs-1873199 ] CharacterDataHandler ampersand problem

SourceForge.net noreply at sourceforge.net
Wed Jan 16 22:04:18 CET 2008


Bugs item #1873199, was opened at 2008-01-16 15:37
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1873199&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: Open
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Karl Waclawek (kwaclaw)
Summary: CharacterDataHandler ampersand problem

Initial Comment:
If you parse <tagname>A&amp;B</tagname>, the characterdatahandler is called 3 times, each with the nodename of tagname, first with A, then with &, then with B

dan at cappannari.com

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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2008-01-16 16:04

Message:
Logged In: YES 
user_id=290026
Originator: NO

This is legal behaviour. You can have multiple call-backs for a contiguous
text string.
This also (if I remember correctly) happens for line breaks.

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

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


More information about the Expat-bugs mailing list