ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
Re: XML processing bug
by Bob Kline other posts by this author
Feb 11 2008 8:59AM messages near this date
view in the new Beta List Site
XML processing bug | Re: XML processing bug
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:bkline@[...].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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved