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

Whitespace in anyURI

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Tue, 26 Nov 2002 16:01:56 +0100
To: www-xml-schema-comments@w3.org
Message-id: <BHEGLCKMOHGLGNOKPGHDOEMICAAA.jjc@hpl.hp.com>

The constraining facet whiteSpace for anyURI in the Schema for Datatype
Definitions is given as collapse.

This constrains the values of anyURI to exclude #xA, #xD, #x9 and
consecutive pairs of #x20; as well as initial and final #x20.

These constraints are not however clearly articulated in the definition of
anyURI. For example, the XLink text for the value of the attribute
xlink:href does not exclude any of these (remembering that attribute value
normalization can be circumvented by the use of character references). Note
that in the Sample DTD for [XLink], xlink:href has attribute type CDATA.

==

I suggest that the lexical and value space of anyURI should be clarified to
fold in the constraints from the whiteSpace facet.

Jeremy Carroll
Received on Tuesday, 26 November 2002 10:02:23 GMT

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