W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

[Bug 4087] XPath used for "assertion" should not use "token"

From: <bugzilla@wiggum.w3.org>
Date: Fri, 15 Dec 2006 17:40:10 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1GvH2Y-0005t9-6x@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4087





------- Comment #1 from davep@iit.edu  2006-12-15 17:40 -------
(In reply to comment #0)

> Suggest to change the type to xs:string or a type derived from xs:string.
> 
> Tokne has whiteSpace "collapse", which means if an XPath has a string literal
>that contains consecutive whitespaces or new line/tab characters, they will be
>normalized, which may not be what's intended by the schema author.

As I read the XPath spec, when they say "token" they don't necessarily mean a
character string in the Schema token datatype's value space.  I can't find any
place where XPATH itself requires that a character string be Schema-tokenized
or even whiteSpace-collapsed.  Help me out here.
Received on Friday, 15 December 2006 17:40:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:11 GMT