This is an informal document to compare WS-Fragment XPath profiles with the XPath profile in XML Signature 2.0 and to propose a unified XPath profile document.
This document is merely a W3C-internal member-confidential document. It has no official standing of any kind and does not represent consensus of the W3C Membership.
This section compares the Level 1 XPath profile in WS-Fragment section 6 ("XPath Level 1 Expression Language") [WS-FRAGMENT] with the XPath profile in section 18.104.22.168 ("XPaths in 2.0 mode") in XML Signature 2.0 [XMLDSIG-CORE2]. WS-Fragment also has another profile of XPath in section 7 ("XPath 1.0 Expression Language"), but this appears to be full XPath so is not compared.
|Feature||WS-Fragment Level 1 XPath Profile||XML Signature 2.0 XPath Profile|
|Syntax||Relative only||Absolute only|
|Function Libraries||None||Reduced Function Libraries (String, Boolean and Number functions
supported. Node set functions limited to
|Computed Values||Not supported.||Supported fully|
|Conformance||Conformance is minimum - implementation may support more of XPath||Restricted to what is specified in profile|
Create a separate XPath profile with WS-Fragment Level 1 profile (unchanged), XML Signature 2.0 XPath profile, renamed as Level 2 and material in section 7 ("XPath 1.0 Expression Language") of WS-Fragment.
Dated references below are to the latest known or appropriate edition of the referenced work. The referenced works may be subject to revision, and conformant implementations may follow, and are encouraged to investigate the appropriateness of following, some or all more recent editions or replacements of the works cited. It is in each case implementation-defined which editions are supported.
No informative references.