Cannot parse simple entity references using xml.sax

Debajit Adhikary debajit1 at gmail.com
Fri May 18 06:11:11 EDT 2007


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

<tag><></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




More information about the Python-list mailing list