[Expat-bugs] [ expat-Bugs-825475 ] Expat can't handle "Father& Son" string

SourceForge.net noreply at sourceforge.net
Fri Oct 17 08:56:27 EDT 2003


Bugs item #825475, was opened at 2003-10-17 12:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=825475&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jouni Virtanen (jouniv)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expat can't handle "Father&Son" string

Initial Comment:
Hello!

I have got the XML document described belowe:

<?xml version="1.0" encoding="UTF-8"?>
<NAME>Father&amp;Son</NAME>

When expat calls the handler function:

static void characterData
(
 void *userData,
 const XML_Char *s,
 int len
)

variable *s contains string "Father" and I am wondering
why is the original string "Father&amp;Son" truncated.
I have compiled expat lib 1.95.6 in HP-UX with default 
options. Is there any chances to get this working?

Regards
Jouni



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

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



More information about the Expat-bugs mailing list