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

Re: [schema] Re: Forcing a certain document element

From: Robert Braddock <stormwarden@bigfoot.com>
Date: Fri, 12 Jan 2001 19:12:45 -0600
To: xmlschema-dev@w3.org
Message-ID: <20010112191245.U29280@concordant-thought.com>
On Fri, Jan 12, 2001 at 11:54:28PM +0100, Eric van der Vlist wrote:
> IMHO, since namespaces are aimed to disambiguate element names, ns1:elt
> and ns2:elt should be considered as having a different semantic...

I agree.

> And if you import the definitions using unqualified types, you hide this
> since you get similar element names from different namespaces that are
> expected to have the same meaning !

I disagree :). While the tags don't carry the namespaces on them, they still
are from that namespace, and any processing that needs to care about
meanings will know that. (It could mechanically find out from the schema, if
necessary.)

> Wouldn't it be simpler to use a single namespace then ?

Then you have name collision issues instead of nice encapsulation.

Granted that there is a rather serious disadvantage in going without global
elements, since there are schema features that require global elements :(
Having unqualified documents be incompatible with those features seems not
quite right to me though. ?


Robert Braddock
Received on Friday, 12 January 2001 20:12:49 GMT

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