[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsn] AI from telecon 10/11
I find the description slightly confusing. Do processors sometimes modify the prefixes specified in namespace declarations and sometimes modify the prefixes used in expressions?
In any case, for interest - I am cross posting the entry I just placed on the WSRF mailing list describing the approach the XQuery group are taking to try to isolate the scope of namespaces through the use of prologs.
Susan Malaika
.................................................................................................................................................................................................................................................................................................
To: wsrf@lists.oasis-open.org
cc:
Subject: [wsrf] Issue WSRF24: Should the XPath evaluations in WSRF specs be made in the context of some namespaces defined or not
I'd like to draw your attention to the approach the W3C XQuery group took in http://www.w3.org/TR/xquery/
Note that XQuery uses XPath.
XQuery defines a host environment- What's outside the line in Figure 1 here http://www.w3.org/TR/xquery/#id-processing-model
In general, XQuery takes what the host environment gives it, adds or overrides with prolog directives, and then evaluates the XQuery expression.
Each prolog directive is different. For variables, adding a new binding will occlude a binding from the environment. (occlude : the inner scope hides the outer scope for these variables). See the tables here
http://www.w3.org/TR/xquery/#id-xq-context-components
The WSRF TC may want to contact the XQuery co-chairs before (or perhaps instead of) writing to the W3C as a whole. I've already spoken to Andrew Eisenberg (one of the XQuery co-chairs) about issue WSRF24 - so the XQuery group won't be surprised to hear from the WSRF TC.
Susan Malaika
................................................................................................................................................................................................................................................................................................
To: Steve Graham/Raleigh/IBM@IBMUS, wsn@lists.oasis-open.org
cc:
Subject: RE: [wsn] AI from telecon 10/11
Following is my proposed text for this new issue. Please review.
Thanks,
Sanjay
WSN2.31: Namespace prefix change may result into unbound QNames
Some of the message components (such as TopicExpression and Selector) may include QName strings in their value. The namespace prefixes used in the QNames are normally declared by some in-scope parent element.
It is possible that toolings modify the namespace declarations and change the prefix values without necessarily updating the QName strings appearing in the message content, resulting into unbound QNames.
Specifications
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]