W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > February 2006

RE: ISSUE-19: Advice against using the \'all\' model group

From: <paul.downey@bt.com>
Date: Wed, 22 Feb 2006 23:32:58 -0000
Message-ID: <2A7793353757DB4392DF4DFBBC9522550276F394@I2KM11-UKBR.domain1.systemhost.net>
To: <Paul.V.Biron@kp.org>
Cc: <public-xsd-databinding@w3.org>, <public-xsd-databinding-request@w3.org>, <sandygao@ca.ibm.com>

Hey Paul!

> authors should think long and hard about using 1.0 all groups in the 
> schemas simply because their expressivity is so limited...not because 
> doing so will cause problems with any binding tool...right?

that's goes to the heart of the issue. Tools in general have little
problem consuming 'all'. It's the restriction on how schema authors
may then extend and use 'all' groups where the pain lies.

Paul

-----Original Message-----
From: Paul.V.Biron@kp.org [mailto:Paul.V.Biron@kp.org]
Sent: Wed 2/22/2006 9:49 PM
To: Downey,P,Paul,CXMA C
Cc: public-xsd-databinding@w3.org; public-xsd-databinding-request@w3.org; sandygao@ca.ibm.com
Subject: RE: ISSUE-19: Advice against using the \'all\' model group
 
> I think the thrust is not to preclude aspects of schema, just
> to advise on what works well with tools. So my preference would
> be to cite 'sequence' and 'choice' in the Basic documents and
> not mention 'all' at all, rather than include wording on why
> it should be avoided.

I'm curious...are there data binding tools that have known bugs/problems 
with all groups?  The limitations that schema 1.0 places on all groups 
should be something that all schema authors inform themselves about...but 
I can't see a databinding-specific reason to do that.  Rather, schema 
authors should think long and hard about using 1.0 all groups in the 
schemas simply because their expressivity is so limited...not because 
doing so will cause problems with any binding tool...right?

pvb
Received on Wednesday, 22 February 2006 23:35:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:36 GMT