W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2002

Re: Length facet and QName

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 08 Nov 2002 10:35:42 +0000
To: Michael <listes.marchegay@wanadoo.fr>
Cc: xmlschema-dev <xmlschema-dev@w3.org>
Message-ID: <f5b65v89wn5.fsf@erasmus.inf.ed.ac.uk>

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.


[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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:06 UTC