Comments
I’ve added threaded commenting support to Growlmurrdurr. Oooh, so pretty. I know, I know, you just can’t stand how pretty it is. What can I say?
XML is beautiful. Python is beautiful. The two do not make beautiful children. Grmp. I’ve built enough small tools into Growlmurrdurr to make the code look alright despite some XML weirdness, but I’d like to develop my own implementation of xml.dom, and add a hyper Pythonized interface to it.
As well, I’m finding problems with the SAX interface to the XML parser… some of these problems I can’t believe are really problems with SAX, since it’s so widely implemented, but they must be Python specific implementation problems. I don’t understand why a SAX content handler never seems to be told when it is reading a CDATA section rather than a text node. There are differences in handling… especially when building a DOM tree out of the XML file. The DOM tree must be constructed with the right node types, or else writting the tree out later on will yield a wildly different document… perhaps I just need to use a lower level API when building my DOM tree.