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

Re: Defining recursive elements?

From: Pete Cordell <petexmldev@tech-know-ware.com>
Date: Fri, 18 May 2007 09:28:10 +0100
Message-ID: <004a01c79930$ecc45c00$4200a8c0@Codalogic>
To: "Boris Kolpackov" <boris@codesynthesis.com>
Cc: <xmlschema-dev@w3.org>

Hi Boris,

I was using it more as a figure of speech (perhaps British only) rather than 
an exact ratio.  Perhaps "more often than not" would have been a better turn 
of phrase.

My may concern is that you said "Note that this change _will_ result in a 
different schema if there was a target namespace involved," which someone 
less experienced than yourself could have mis-interpreted.  If you had said 
"Note that this change _could_ result in a different schema if there was a 
target namespace involved" then I would totally agree with you.

Having said that, I actually think the case where Venetian blind schema 
design is used, and all local elements are unqualified looks quite pretty. 
Especially when types from multiple namespaces are used.  You get one 
namespace declaration at the start of your instance identifying your schema, 
and then you don't have to worry about namespaces anymore.  It looks a lot 
like Java packages and C++ namespaces etc.  Shame we're not allowed to use 
it :-)

Pete Cordell
Tech-Know-Ware Ltd
for XML Schema to C++ data binding visit

----- Original Message ----- 
From: "Boris Kolpackov" <boris@codesynthesis.com>
To: "Pete Cordell" <petexmldev@tech-know-ware.com>
Cc: <xmlschema-dev@w3.org>
Sent: Friday, May 18, 2007 7:48 AM
Subject: Re: Defining recursive elements?

Pete Cordell <petexmldev@tech-know-ware.com> writes:

> Although, just to clarify for those that are a bit fuzzy about namespaces
> in schema, commonly if people define a schema that specifies a target
> namespace, 9 times out of 10 they will also make
> elementFormDefault="qualified".

Any studies to support these numbers? I just did a quick check over
a bunch of real-world schemas in our repository. Out of 18 schemas,
7 are "unqualified" (~40%) and 11 are "qualified" (~60%).
Received on Friday, 18 May 2007 09:43:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC