Menu

#241 XMLReader doesn't unescape entities

v2.0
closed-fixed
None
5
2007-03-18
2007-03-11
Trejkaz
No

In org.htmlparser.sax.XMLReader, when a characters() event is fired out, the XMLReader class isn't unescaping the entities found in the text.

Workaround is to write an XMLFilter which does the unescaping on the fly, but the fix probably isn't too hard to add into XMLReader itself.

Discussion

  • Trejkaz

    Trejkaz - 2007-03-11
    • summary: SAX stream doesn't unescape entities --> XMLReader doesn't unescape entities
     
  • Derrick Oswald

    Derrick Oswald - 2007-03-18
    • milestone: --> v2.0
    • assigned_to: nobody --> derrickoswald
    • status: open --> closed-fixed
     
  • Derrick Oswald

    Derrick Oswald - 2007-03-18

    Logged In: YES
    user_id=605407
    Originator: NO

    Added call to Translate.decode() in Text node handling of DoSAX.

     

Log in to post a comment.