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

RE: Concerned about the increasing reliance on XPath

  • From: "David Lee" <dlee@calldei.com>
  • To: "'Michael Kay'" <mike@saxonica.com>, <stephengreenubl@g...>
  • Date: Mon, 9 May 2011 12:14:14 -0400

RE:  Concerned about the increasing reliance on XPath
IMHO ... 

I think XPath "suffers" in ways XQuery and XSLT do not because it is more
reliant on the surrounding infrastructure.

And it *seems* that it was intended to be part of a bigger ecosystem, not a
standalone thing.
Otherwise things like setting the namespace bindings would be part of the
xpath language , not required to be set by the container environment.

Hence XPath is *inherently* dependent on the peculiarities of the context in
which its used.
This could be a feature or a bug depending on your point of view.

Feature: 
	Imagine how big XPath expressions (which are stateless) would be if
you had to do all the namespace bindings in every one.
Bug:  
	You cant write a "portable" XPath statement without the
environmental specific settings.






----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org


-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com] 
Sent: Monday, May 09, 2011 11:54 AM
To: stephengreenubl@gmail.com
Cc: xml-dev@lists.xml.org
Subject: Re:  Concerned about the increasing reliance on XPath


On 09/05/2011 16:49, Stephen D Green wrote:
> I think we tend to hope that XPath expressions can be
> written such that they are immune from such implementation
> specifics

Yes, indeed, but there's no way to prevent tools vendors from adding 
their own usability layer around the base language, or improving these 
layers from one release to the next.

Michael Kay
Saxonica

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.