Is this a bug?

"Elver Loho" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hiya, all!

I have no idea whether this is a bug or not, but I'd like to get
people's opinion on it.

I'm using Python's xml.parsers.expat to parse an RSS feed from
http://blog.kriso.ee/feed/ to generate a static component for our
webstore sidebar at http://www.kriso.ee/

The problem is with the title of the latest entry: "Nip/Tuck'i
stsenarist filmi kirjutamas" -- I have a method registered as
CharacterDataHandler and for the title, it returns *three times*

So the line:

<title>Nip/Tuck'i stsenarist filmi kirjutamas</title>

Ends up causing calls to:
StartElementHandler("title")
CharacterDataHandler("Nip/Tuck")
CharacterDataHandler("'")
CharacterDataHandler("i stsenarist filmi kirjutamas")
EndElementHandler("title")

It's trivial to work around it, but what's going on here?


Elver
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.