Re: Length facet and QName

Michael <listes.marchegay@wanadoo.fr> writes:

> I'm wondering how length (or pattern) facets shall be handled when used
> to restrict a QName.
> 
> Are these facets applied as if the QName was a simple collapsed string
> (the namespace prefix is just considered as a normal portion of the
> string), or does the URI corresponding to the prefix is to be taken into
> account?

This is a recorded issue against the REC [1] with an erratum in
progress.  Short answer: length is deprecated wrt QName, processors
should treat length tests on QNames as always-succeed no-ops.

ht

[1] http://www.w3.org/2001/05/xmlschema-rec-comments.xml#pfiQNameFacets
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Friday, 8 November 2002 05:35:48 UTC