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).

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], 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?

[1] http://www.python.org/community/sigs/current/xml-sig/

-- 
Bob Kline
http://www.rksystems.com
mailto:[EMAIL PROTECTED]

_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to