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

RE: Changing XPath 1.0 Semantics in XForms 1.0?


xform tablet pc
Andrew,

You seem to be making a fairly common mistake.

XPath expression are not evaluated against "documents", but rather against
an XPath data model. In many cases, the XPath data model is isomorphic with
an entire XML document, but nowhere is this required.

It's up to any specification that uses XPath to define the data model and
context against which XPath expressions are evaluated. How else could it
possibly work?

.micah


-----Original Message-----
From: AndrewWatt2000@a... [mailto:AndrewWatt2000@a...]
Sent: Wednesday, November 13, 2002 9:57 AM
To: xml-dev@l...
Subject:  Changing XPath 1.0 Semantics in XForms 1.0?


I would be interested in the perspective of list members on an issue which 
has arisen in relation to the newly issued XForms 1.0 CR.

It seems to me that a change is being made in XForms 1.0 to XPath 1.0 
absolute location path semantics and that that may not be a good idea.

http://lists.w3.org/Archives/Public/www-forms-editor/2002Nov/0017.html
is my original post on the topic. There are a couple of responses.

I guess my concern is twofold.

One is it a good idea to vary the semantics of XPath 1.0 absolute location 
paths in XForms 1.0?

Secondly, in a world where multinamespace documents will become the norm
what 
should be the "scope" (for want of a better term) within a multinamespace 
document for any particular processor? Should, say, an XForms processor only

see the "XForms bits" for want of a better term or is that a potentially 
confusing change to what a document is, what a root node is etc?

As far as the specifics of the XForms 1.0 issue go, it seems to me that
there 
are two possible solutions. One is that the claim to being "XPath 1.0" 
location paths is removed. The other is that some amendment to absolute 
location paths which is (more?) applicable to multinamespace documents is 
explored.

Andrew Watt

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

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.