[Twisted-Python] regarding xml elements
Jean-Paul Calderone
exarkun at divmod.com
Fri Mar 28 10:55:39 EDT 2008
On Fri, 28 Mar 2008 10:51:10 -0400, Phil Christensen <phil at bubblehouse.org> wrote:
>
>On Mar 28, 2008, at 10:45 AM, Jean-Paul Calderone wrote:
>>On Fri, 28 Mar 2008 10:32:44 -0400, Phil Christensen <phil at bubblehouse.org
>> > wrote:
>>>On Mar 28, 2008, at 7:44 AM, Raj kumar wrote:
>>>>Hi,
>>>>I have an xml file in my application,
>>>>I have created an element using
>>>>Example goes like this.........
>>>>
>>>>document.createElement("abc")
>>>It sounds like you're working with t.w.microdom.
>>
>>If so, stop.
>>
>>Don't use twisted.web.microdom. There are plenty of better XML libraries
>>for Python.
>
>What's wrong with it? It's got a familiar API, and it's easier to work with
>than the built-in expat parser. If you've already got a dependency on
>Twisted, it seems like a good choice unless you need a high level of
>performance.
It's full of bugs that we probably won't fix, even if you tell us about
them.
>If it's so bad that you'd tell someone not to use it, why isn't it
>deprecated?
Because it would take a lot of work to deprecate, and there are a lot of
other things people are working on that are deemed more important.
Jean-Paul
More information about the Twisted-Python
mailing list