- From: Erik Wilde <dret@berkeley.edu>
- Date: Wed, 27 Dec 2006 10:23:21 +0000
- To: www-xml-schema-comments@w3.org
hello.
i suggest to add "text()" to the allowed xpath subset for the
<xsl:field> element. consider the following xml fragment:
<tags>
<tag>XML</tag>
<tag>XML Schema</tag>
<tag>XPath</tag>
</tags>
currently, it is impossible to write an identity constraint which
ensures the uniqueness of the tag element contents within the context
of the <tags> element, because the field xpath may only select
elements or attributes, but not the text() node relative to the <tag>
element selected by the selector.
i always found this to be a bug in the specification of identity
constraints, and xml schema 1.1 could be a good opportunity to fix it.
kind regards and a happy new year,
erik wilde tel:+1-510-6432253 - fax:+1-510-6425814
dret@berkeley.edu - http://dret.net/netdret
UC Berkeley - School of Information (iSchool)
Received on Thursday, 8 February 2007 00:51:35 UTC