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

Re: Should "//ename[n]" mean "/descendant::e name"?]

Subject: Re: Should "//ename[n]" mean "/descendant::e name"?]
From: Jonathan Robie <jwrobie@xxxxxxxxxxxxxx>
Date: Thu, 20 Dec 2001 11:57:03 -0500
what does descendant mean
At 03:06 PM 12/19/2001 +0000, David Carlisle wrote:
I'm frankly shocked and concerned that the WG should even consider such
a strange idea as to so radically change the semantics of such a core
Xpath feature, keeping the syntax legal but changing its meaning.
If compatibility is of such low concern it does not bode well for XSLT 2.

Let me be real clear: I was not speaking for the WGs or acting on their behalf in asking this question. I was gathering data. I ask a lot of questions. I brainstorm a lot. That's the way I work.


In this case the proposed definition seems far less useful than the
current definition, but even if it was conceptually an improvement it
would be years too late to change. If you need to add a new feature then
please use a new syntax, don't abuse existing syntax.

As you point out, my idea would not cover all the axes, so it is broken. Since virtually every query I write involving // and subscripts requires parentheses to come out right, I would love to come up with a definition that would allow //para[1] to mean the first paragraph in the document, but my proposed definition does not do that cleanly.


Again, speaking for myself, I do think that some things in XPath 1.0, such as the first semantics for set comparisons, are problematic for a strongly typed query language, so I think that integrating XQuery 1.0 and XPath 2.0 might lead to some incompatibilities with XPath 1.0. And if we do make changes that lead to incompatibilities, we should avoid changes that are likely to break stylesheets, and also assume that we will likely not have the opportunity to do so again.

Jonathan



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.