By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

Cannot parse simple entity references using xml.sax

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.