W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

Distinct simpleType for namespaceName

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Tue, 18 Jul 2000 15:24:57 -0600
Message-ID: <B2C1451A181BD411B88A00E018C1C19C08A713@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Given the fairly intense debate over the significance of the namespace name in xml-uri and the like, it might be beneficial to define a distinct built-in simple type for namespaceNames to allow them
to be distinguished from ordinary uriReferences.  XML document checkers could use this knowledge to avoid trying to check the retrievability of namespace names.  Being able to distinguish between
namespace names and generic URI's would also be beneficial if additional functionality like schema retrieval by catalog lookup becomes standardized.

I would think it would be as simple as adding this to part2.xsd (and of course, much more changes in the part2 document) and changing the targetNamespace attributes to be namespaceName instead of
uriReference.

<simpleType name="namespaceName" base="uriReference"/>
Received on Tuesday, 18 July 2000 17:37:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC