[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Is Anyone Interested In XPath 2.0 Use Cases or Requirements?

  • To: <xml-dev@l...>
  • Subject: Is Anyone Interested In XPath 2.0 Use Cases or Requirements?
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 5 Jul 2002 15:16:34 -0700
  • Thread-index: AcIkcZ8dR6WviaRlT/aKRZjSLtw4TA==
  • Thread-topic: Is Anyone Interested In XPath 2.0 Use Cases or Requirements?

xpath use cases
I recently wrote an article for the MSDN Extreme XML column entitled "Things to Know and Avoid When Querying XML Documents with XPath" located at
which is a collection of XPath annoyances, quirks and idiosyncracies that have tripped up myself and a number of other people both within and outside Microsoft. The issues I picked on are probably the usual suspects to people familiar to XPath such as 
1.) Why //*[1] and (//*)[1] return radically different results
2.) Lack of set specific operators besides union
3.) Lack of identity operators
4.) Lack of value comparators for nodesets 
5.) Why A != B is different from not(A = B) for nodesets
and a few others. Conspicously absent is a lack of critique for the lack of type based querying facilities in XPath. Not that I think this isn't an issue especially since I constantly see people ask for the ability to do operations on dates and schema types but I left it out because these issues seemed less a failing of XPath both more a sign of the evolution of XML applications. 
However what I've found interesting is that most people have showed little interest in XPath 2.0 as can be seen by the relatively scanty number of posts in the public-qt-comments archive at 
which has only broken the 10 email-per-month threshold during the month of May during a particularly raucous cross-posting thread spawned on XML-DEV complaining about PSVI support in XPath 2.0. 
I'm rather curious as to what this means. Is no one interested in any revisions to XPath? Am I wrong in thinking that there were some mistakes made in XPath 1.0 that could be (and seem to have been) rectified in XPath 2.0? Have people moved on to other technologies or is XPath usage not as widespread as I assumed? 


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.