W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2001

redefine

From: Ian Stokes-Rees <ijs@decisionsoft.com>
Date: Tue, 10 Apr 2001 16:39:27 +0100
Message-ID: <3AD3292F.BC0220C0@decisionsoft.com>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
What is the motivation for redefine?  It seems to me that there are some
serious problems with redefining complex types defined in other schema
files but in the same namespace.

The effect would be that an instance document which was set in a
particular namespace would have different understandings of a certain
document depending on which schema it happened to use (or perhaps even
the order in which it read in the schemas or applied them to the
validation of the document).

Since xsi:schemalocation is only meant to be a hint to a schema
validator, it doesn't seem to make sense to have two different
definitions of the same type within a given namespace depending on which
schema file you happen to read.

Thoughts?

Ian.
-- 
Ian Stokes-Rees, Engineering Manager  DecisionSoft Ltd.
Telephone: +44-1865-203192            http://www.decisionsoft.com
Received on Tuesday, 10 April 2001 11:37:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT