[XML-SIG] xpath error

Uche Ogbuji uche.ogbuji at fourthought.com
Wed Sep 8 15:33:50 CEST 2004


On Tue, 2004-09-07 at 21:42, Mike Brown wrote:
> Ajay wrote:
> > > This is a bug that was reported a month ago or so.  The main problem is
> > > that the XPath implementation in PyXML has fallen a long ways behind the
> > > code in 4Suite, and no one has the spare cycles for a re-merge.
> > >
> > 
> > but i am using _xmlplus.dom.minidom and xpath from the same package.
> > surely they should work?
> 
> No, Uche is saying that a bug that was reported last month might be fixed in 
> 4Suite (Ft.Xml.XPath), but probably not in PyXML (xml.xpath).

Just to be sure, the bug was reported WRT PyXML's XPath, not that in
4Suite.  Back then I checked the problem expression in 4Suite and it
worked fine.  So it probably hasn't been a bug in 4Suite for years.

> > apart from doing a traversal myself, is there a way around it?
> 
> Probably not, if you have to use PyXML's implementation.

Actually, I think there's a patch on this.  I really need to carve out
some time to work on my PyXML tasks.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Meet me at XMLOpen Sept 21-23 2004, Cambridge, UK.  http://xmlopen.org

A hands-on introduction to ISO Schematron - http://www-106.ibm.com/developerworks/edu/x-dw-xschematron-i.html
Practical (Python) SAX Notes - http://www.xml.com/pub/a/2004/08/11/py-xml.html
XML circles the globe - http://www.javareport.com/article.asp?id=9797
Element structures for names and addresses - http://www.ibm.com/developerworks/xml/library/x-elemdes.html
Commentary on "Objects. Encapsulation. XML?" - http://www.adtmag.com/article.asp?id=9090
Harold's Effective XML - http://www.ibm.com/developerworks/xml/library/x-think25.html
A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/



More information about the XML-SIG mailing list