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

RE: XPath conformance? was RE: storing XML files

  • From: Evan Lenz <elenz@x...>
  • To: "Champion, Mike" <Mike.Champion@S...>, xml-dev@l...
  • Date: Tue, 09 Oct 2001 10:07:46 -0700

RE: XPath conformance? was RE:  storing XML files
Mike Champion wrote:
> I'd submit that a processor that executes legal XPath expressions "is" an
> XPath processor, whatever it's called, and whatever superset of
> XPath syntax
> it also supports.

Because XPath can be extended via an extended function library, a la XSLT
and XPointer, I would disagree with the claim that a processor that supports
an extended *syntax* is in compliance with the XPath specification.

There are parts of the picture that are not standardized--most notably how a
node-set (or even a boolean, for that matter) should be serialized. These
are implementation-dependent (whether the implementation is the XSLT
specification or some XML database vendor).

This leaves vendors much freedom (at the expense of having a standard).
However, they should not feel free to extending the syntax of XPath, i.e.
what the XPath spec *does* standardize.

For example, the following is not in compliance with the XPath spec:

/customer[name ~= "Mike"]

whereas this alternative expression would be perfectly fine:

/customer[ext:like(name, "Mike")]

Evan Lenz
XYZFind Corp.


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.