This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

endElement called twice

 
Forest Huge
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using SAX parser, for some reason, the endElement method was called twice for the last element of a document.
I understand that for a large element value, the charaters method might be called many times. But this endElement should not be called twice, right?
Did I miss something?
Thanks!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Huh? If that's really the case, the only thing you can do is to change the parser implementation or tweak the XML document until the parser behaves correctly, I'm afraid.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic