W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2007

RE: Referencing attributes from the XMLSchema-instance namespace

From: Mary Holstege <holstege@mathling.com>
Date: Fri, 30 Mar 2007 04:42:17 -0700
To: xmlschema-dev@w3.org
Message-ID: <op.tpyd47u8pwddar@d600-59>

The WG discussed this 2007-03-28. It is tracked as bugzilla #4346.


There is no rule in the specification that forbids referring to attributes
in the http://www.w3.org/2001/XMLSchema-instance namespace.

However, as shown, schema document is not valid because it lacks an import.
The specification requires imports, which serve a dual purpose of
identifying the resource containing the schema definitions (unnecessary in
this case) and licensing the import of definitions from that namespace.

However, note that even if the schema were valid, it would be ineffective.
The rules in Validation Rule: Element Locally Valid (Complex Type) mean
that the attribute use settings such as default values will not have any
effect because they are not consulted for the attributes in the
http://www.w3.org/2001/XMLSchema-instance namespace.

For the WG

Received on Friday, 30 March 2007 11:43:23 UTC

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