Re: Scheme key constraints xpath subset

I looked at this XPath profile, it is a subset of the XPath profile that 
I was proposing.

this XPath profile allows you to only use the child axis, and use simple 
XPaths like these

/foo/bar
.//bar
/ns:foo/ns:bar/@id


In my subset there were some extra things
* The last step can have a Predicate involving attributes e.g. like this
 
  /soap:Envelope/soap:Header[@actor = "nextMSH"]

(ebxml uses an XPath filter in their signature which uses an attribute 
expression)

* descendant axis does not need to be only at the beginning, e.g. it is 
possible to do

  /foo//bar

I am not sure why this XPath profile limited // to be only at the 
beginning, and only to be used for relative paths

This is what this profile says:
 Path    ::=    ('.//')? Step ( '/' Step )*


This is for my ACTION-107 Look at XSL streaming

Pratik


Frederick Hirsch wrote:
>
>
> From Norm Walsh, a link to profiling XPath for XML Schema:
>
> Scheme key constraints xpath subset:
>
>  http://www.w3.org/TR/xmlschema-1/#coss-identity-constraint
>
> This was the information Norm said he would share with our group. 
> Thank you Norm.
>
> regards, Frederick
>
> Frederick Hirsch
> Nokia
>
>
>
>

Received on Friday, 5 December 2008 18:44:57 UTC