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

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
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&amp;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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.