468,284 Members | 1,603 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,284 developers. It's quick & easy.

Cannot parse simple entity references using xml.sax

I'm writing a SAX parser using Python and need to parse XML with
entity references.

<tag>&lt;&gt;</tag>

Only the last entity reference gets parsed. Why are startEntity() and
endEntity() never called?

I'm using the following code:
http://pastie.textmate.org/62610

May 18 '07 #1
0 921

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Chris Curvey | last post: by
5 posts views Thread by Stephan Hoffmann | last post: by
2 posts views Thread by live your lives | last post: by
2 posts views Thread by Don Wash | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.