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

How to check for entity reference in attribute

2010-01-16 Thread Dick Deneer
When I parse xml with an entity refererence in an attribute to a DOM tree, I am not able to serialize the xml back to the original content. The question of retaining this references has been asked before in this forum and I am aware that this is not supported by xerces. But it is possble to che