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

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 UTC