Re: XML processing bug
by Trent Mick other posts by this author
Feb 11 2008 9:39AM messages near this date
view in the new Beta List Site
Re: XML processing bug
|
Re: XML processing bug
Bob Kline wrote:
> Bob Kline wrote:
> > We've stumbled on a bug which causes spurious warning messages when
> > validating against a certain DTD. This uses a package which isn't
> > distributed with Active Python, so my first inclination was to file a
> > bug with the maintainers of the PyXML package (a.k.a. python-xml). It
> > turned out that there were two problems with this approach. The first
> > is that this package is no longer maintained. The second problem is
> > that the bug doesn't actually seem to be in the package itself. The
> > first clue in this direction was that when I ran the repro case on an
> > Ubuntu Linux workstation, the incorrect warning messages did not
> > appear. So I pulled down the Ubuntu source package for python-xml and
> > used it to install the package into my Active Python, and the problem is
> > still present. This has been reproduced with multiple Windows operating
> > systems, and multiple versions of Active Python (incuding the same
> > version which is running on the Linux workstation without the buggy
> > behavior). So it seems that there is some difference between Active
> > Python's interpreter and libraries and the interpreter and libraries on
> > Linux which cause the bug to appear in the former but not the latter.
> > Should I file a bug report and post my repro case?
> >
> >
>
> Further digging appears to indicate that while the bug is unique to
> Windows, it is not unique to ActiveState's distribution of Python. I
> did a fresh install of python.org's Windows build, and the bug is still
> present. So the likeliest explanation is a bug in the underlying
> Microsoft libraries (something we've been bitten by on previous occasions).
Perhaps a bug in core Python's bug database would be useful. I don't
know enough about the bug to know though.
http://bugs.python.org/
> I have also learned (since posting the original message in this thread)
> that although the Python XML SIG still describes PyXML as the premier
> path to full XML support in Python on the SIG's home page [1]
That is unfortunate.
> , this
> information is out of date, and lxml is now the preferred package for
> full-strength XML programming in Python.
>
> Are there any plans for including this package with the ActiveState
> distribution at some point in the future?
Could you add a feature request for that:
http://bugs.activestate.com/enter_bug.cgi?product=ActivePython
I'm not sure when I'd be able to add it, but it is definitely a
worthwhile module. Note that xml.etree is quite handy for XML processing
-- but obviously not for things like validation, etc. that lxml provides.
Trent
--
Trent Mick
trentm at activestate.com
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Bob Kline
Bob Kline
Trent Mick
Bob Kline
|