You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/07/30 09:24:49 UTC
DO NOT REPLY [Bug 11272] New: -
report character references in sax
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=11272>.
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=11272
report character references in sax
Summary: report character references in sax
Product: Xerces2-J
Version: 2.0.2
Platform: PC
URL: http://strem.home.ro
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: SAX
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: strem@home.ro
I found very useful to have character references reported as a separate event,
something like startEntity(String name). Let say we have in a file   in
characters() it will arrive char(160) without knowing that in fact this
character was defined as a reference and not as a plain character. This is
useful when someone want to keep the output result of the sax identical with the
input. The solution with converting all >127 into char references is not a valid
one as somebody may want to keep, let say '�' , the same and not converting it
to é. So here is necesary to know when there is a character reference
defined in input.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org