Joseph Shraibman wrote:

I have a SAX ContentHandler. I'm passing it an xml string with entities in it, but when the characters() method is called the entities are still escaped. How do I force sax to convert the entities into chars? I'm using xerces 2.6.2


It sounds like you're not passing the string through a parser first. Is that right? Nothing in ContentHandler decodes entities. The parser decodes them, and then it calls the characters() method with the decoded text.

--
Elliotte Rusty Harold
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to