Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Composition by extension in namespaced schema

From: noah_mendelsohn@--.---.---
To: "Michael Kay" <mike@--------.--->
Date: 3/14/2008 6:20:00 PM
Michael Kay writes:

> For some strange reason which I've never understood, local element
> declarations (i.e. <element name="x"/> within a complex type) default to
> being in no namespace, rather than defaulting to the target 
> namespace of the
> schema.

How to treat this was probably the most contentious question in the design 
of Schema 1.0.  It was the so-called issue 208 and caused so much 
disagreement that the number 208 became a standing joke in the group for 
some time.  I agree with your implication that defaulting to qualified, or 
in fact fixing the choice at qualified, would have been sensible.  Others 
felt that (a) attributes were a precedent, not withstanding that the 
Namespaces in XML Recommendation treats them asymmetrivally regarding 
defaulting and (b) there are/were those who felt that using the same 
qualified name with two different local meanings conflicts with the spirit 
of making the names globally unique, and through use of URI-grounded 
QNames, offering the promise that the elements or their names are 
resources on the Web. It's a long discussion that we don't want to repeat 
(trust me!), but the "strange reasons" were along those lines.  Since the 
group went in circles on this and adherents to both preferences felt 
strongly, the switch was introduced. 

Noah

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------





From S.Yona@F... Tue Mar 18 08:18:43 2008
Received: from maggie.w3.org ([193.51.208.68]


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent