Facets on QName, clarification required

QName allows the following facets:
length, minLength, maxLength, pattern, enumeration, whiteSpace 

The validation rules for length, minLength, and maxLength facets at
4.3.1.3[1], 4.3.2.3[2], 4.3.3.3 [3]--when it comes to atomic variety--
are defined only for Strings and hex/base64Binary.  (Seems to have been
inherited from earlier drafts when QName derived from Name and
that one from String...)

1. Do those three facets apply to the lexical or value space?
If the latter, then how?  The same question applies to NOTATION and
anyURI (considering encoding) types.

2. The other three facets (pattern, enumeration, whiteSpace)
seem clearly to apply to lexical space.

[1] http://www.w3.org/TR/xmlschema-2/#length-validation-rules
[2] http://www.w3.org/TR/xmlschema-2/#minLength-validation-rules
[3] http://www.w3.org/TR/xmlschema-2/#maxLength-validation-rules

Anli Shundi                      ashundi@tibco.com
Senior Developer                 office: (919) 969-6518
TIBCO Software Inc.              mobile: (919) 672-5934

www.extensibility.com  |  www.XMLschema.com  |  www.tibco.com

Received on Thursday, 17 January 2002 16:20:35 UTC