Hi, 

Maybe one of you could advise me on an issue I'm facing? Here's a sample XML 
file: 
[ https://stackoverflow.com/posts/78293677/timeline ] 


<doc a="one &foo; two"></doc> 




I'm using a SAX parser to parse this file. Entity foo in attribute a's value is 
undefined. Calling "getValue()" on this attribute returns "one two", so all 
information about the entity is lost. Would it be possible to somehow extract 
the entity name and insert it in the right place in order to return the string 
"one &foo two" to the end user? I know it at least used to be possible in older 
versions of XercesC, but right now I can't find a way to do this. 





Best, 

Anita 

Reply via email to