Re: How to check for entity reference in attribute

2010-01-17 Thread Dick Deneer
Michael, Thanks for your quick response. I will use a simple internal parser to detect them. If the xml is wellformed this should not be too complex Thanks, Dick Deneer Op 16 jan 2010, om 23:21 heeft Michael Glavassevich het volgende geschreven: Even if Xerces internally tracked entity

Re: How to check for entity reference in attribute

2010-01-16 Thread Michael Glavassevich
Even if Xerces internally tracked entity boundaries within attribute values there would be no way to report this information to you through SAX [1]. Only the normalized value [2] of an attribute is exposed. In other words, the entity references will have been replaced before your ContentHandler re