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

Facets on QName, clarification required

From: Anli Shundi <ashundi@tibco.com>
Date: Thu, 17 Jan 2002 16:19:09 -0500
Message-ID: <339902DC0E58D411986A00B0D03D84320148F7BA@extmail.extensibility.com>
To: "XmlSchema-Comments (E-mail)" <www-xml-schema-comments@w3.org>, "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>
QName allows the following facets:
length, minLength, maxLength, pattern, enumeration, whiteSpace 

The validation rules for length, minLength, and maxLength facets at[1],[2], [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:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:57 UTC