You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/07/21 22:30:05 UTC

DO NOT REPLY [Bug 18611] - Scanner permits some invalid character references.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18611

Scanner permits some invalid character references.





------- Additional Comments From mrglavas@apache.org  2003-07-21 20:30 -------
I've confirmed that this problem actually occurs.

To reproduce, just use the following as input to the SAXPrint sample:

<?xml version="1.0" encoding="UTF-8"?>
<root>&#4294967349;</root>

You'll get this as output:

<?xml version="1.0" encoding="LATIN1"?>
<root>5</root>

which I expected since 4294967349 mod (2^32) = 53 or 0x35 in hex.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org