[Expat-bugs] [ expat-Bugs-752139 ] < error

SourceForge.net noreply at sourceforge.net
Tue Jun 10 14:25:12 EDT 2003


Bugs item #752139, was opened at 2003-06-10 16:03
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=752139&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: < error

Initial Comment:
<Test>
<Row>&#60;OK&#62;</Row>
</Test>

For the test case above, I assume the result in 
void characterDataHandler(void *userData, const 
XML_Char *s, int len)
{
}

*s should be "&#60;OK&#62;"
but the result I got was "<"

Is it a bug or by design?

Thanks.


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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-06-10 16:25

Message:
Logged In: YES 
user_id=290026

According to section 4.4 in the XML specs
(XML Processor Treatment of Entities and References)
the behaviour of Expat appears to be correct.


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

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



More information about the Expat-bugs mailing list