[XML-SIG] Re: ElementTree

2005-03-16 Thread Fredrik Lundh
Greg Wilson wrote: > Hi everyone. I posted a problem with ElementTree to c.l.py yesterday. > Fredrik sent me a one-line patch (included below). I applied it, but > ElementTree still fails in the same place, the same way, so I switched to > cElementTree. It parses half of my input document, but

[XML-SIG] Re: ElementTree

2005-03-16 Thread Greg Wilson
Hi everyone. I posted a problem with ElementTree to c.l.py yesterday. Fredrik sent me a one-line patch (included below). I applied it, but ElementTree still fails in the same place, the same way, so I switched to cElementTree. It parses half of my input document, but fails on the fourth occurren

Re: [XML-SIG] Re: Minidom empty script element bug

2005-03-16 Thread Derek Basch
Wow! XIST is very elegant. Perfectly designed for what it is supposed to do. "XIST is an extensible HTML/XML generator written in Python." I guess there isn't much point in "fixing" the pyXML XHTMLPrinter when something as cool as XIST exists (pun intended). Kid also seems really neat. I like th

Re: [XML-SIG] Re: Minidom empty script element bug

2005-03-16 Thread Ryan Tomayko
On Mar 15, 2005, at 6:14 PM, Martin v. Löwis wrote: Derek Basch wrote: XHTML 1.0 specs, Appendix C [EMAIL PROTECTED] C.3 Element Minimization and Empty Element Content Given an empty instance of an element whose content model is not EMPTY (for example, an empty title or paragraph) do not use the m

Re: [XML-SIG] PyXML and Mac OS 10.3.8

2005-03-16 Thread Graham Jones
Indeed, I thought the ADT installed by default on Macs. Apparently not. So installed ADT and fine. Well, fine after realising Apple fumbled bundle1.o in /usr/lib (Jaguar installed, Panther doesn't - so if ADT is a Jaguar ADT or early Panther version then no bundle1.o so no compile so no PyXML). A

Re: [XML-SIG] PyXML and Mac OS 10.3.8

2005-03-16 Thread Peter Herndon
pyconfig.h exists on my 10.3.8 Mac: MHUG-S1021-G4-1-25:~ herndon$ locate pyconfig.h /sw/include/python2.3/pyconfig.h /System/Library/Frameworks/Python.framework/Versions/2.3/include/ python2.3/pyconfig.h The one in /sw/include comes from fink, but the one in /System/Library is the Apple-install