OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] XPointer example

[ Lists Home | Date Index | Thread Index ]

On Wednesday 12 July 2006 09:15, tom tom wrote:
> OK thanks. I have a tool that implements enough XPath functionality for my
> needs (LibXML) however I think it would be foolish to adopt this particular
> XPointer functionality while this document is still a working draft. Even
> though our Xpaths are relatively simple. Is that fair?

The xpointer() spec has been a draft for long and as far as I know no one is 
attempting to advance it to a recommendation. Some thinks the xpointer() 
scheme is too complex with its character range support.

The xpointer() scheme isn't widely used according to my experience(partly 
because it's heavy to implement, perhaps). xpointer() is perhaps getting 
established as a de facto standard. I don't think your interoperability 
problem would be the spec's status but to find implementations supporting it. 
Whether xpointer() is ok for you depends on your acceptance towards locking 
on implementations that support that scheme.

Another possibility is to use the xpath1() scheme which allows selection via 
plain XPath 1.0 expressions. libxml2 doesn't support it, but you could 
request it as a wishlist -- I don't think it would be much work to implement.




News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS