http://lists.dsdl.org/dsdl-comment/2007-11/att-0015/dsdl-5.pdf
fewer comments on this draft!
David
5.1.1
XPath 1, XPath 2 is already a rec, and the regex support in this
standard is essentially based on Xpath 2, it would be more consistent to
use (or at least give an option of) Xpath 2 here.
5.1.4
the extension (named groups) is essentially cosmetic and it is a big bar
from implementing this technology with systems based on XSLT2/XQuery.
XSLT2 has unnamed groups and access them by mumber not by name
depending on context as $5 or regexp-group(5). refering to groups by
position would help compatibilty with XSLT2.
If names are to be used, several points don't seem to be spelled out,
as the names are referenced as XPath variables presumably unprefixed
names are always in no-namespace, can prefixed names be used?
How do named groups interact with repetition
(?'RR'.)*
matches abc with the group matching each character separately.
XPath2 specifies (for groups accessed by position not name)
that $1 here just refers to the first instance of the match, 'a' in
this example.
9.4.1.1
the notation xpath:string is used without any indication of which
namespace is intended for the xpath: prefix. XPath1 usage would perhaps
indicate "string" in no-namespace, or xpath 2 usage would indicate
xsd:string as being more suitable.
-- DSDL comments To unsubscribe, please send a message with the command "unsubscribe" to dsdl-comment-request@dsdl.org (mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)Received on Wed Jan 9 02:59:37 2008
This archive was generated by hypermail 2.1.8 : Wed Jan 09 2008 - 10:48:02 UTC