W3C home > Mailing lists > Public > public-xmlsec@w3.org > December 2008

Re: Scheme key constraints xpath subset

From: Pratik Datta <pratik.datta@oracle.com>
Date: Fri, 05 Dec 2008 10:44:10 -0800
Message-ID: <4939767A.7090001@oracle.com>
To: Frederick Hirsch <frederick.hirsch@nokia.com>
CC: XMLSec WG Public List <public-xmlsec@w3.org>, Norman Walsh <ndw@nwalsh.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:55 GMT