W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

NM-XQ-6: xs:anyUri and xs:string

From: Noe Michejda <noe_michejda@7thportal.pl>
Date: Tue, 24 Feb 2004 02:19:33 +0100
Message-ID: <004001c3fa74$442a0260$0201a8c0@a2>
To: <public-qt-comments@w3.org>
Build-in type xs:anyUri deserves better treatment in my opinion.

Currently it can be only compared with another xs:anyUri or casted to string.
But basically it is a string with additional restriction on structure (like pattern facet).
So xs:anyUri should be treated as derivation by restriction from xs:string by all XPath/XQuery rules.
This will allow to define function signatures using xs:anyUri and remove lexical checks from definitions
of functions.
Maybe it will be possible to change derivation diagram in XML Schema 1.1 and reference it instead
of 1.0 in XPath 2.0 / XQuery 1.0 ? This will be simpliest solution.
(and btw allow placing dayTimeDuration and yearMonthDuration in schema namespace)

Best Regards,
Noe Michejda
7th Portal S.C.
Received on Monday, 23 February 2004 20:27:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC