W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2011

Re: What is lost if xsd:choice is jettisoned?

From: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>
Date: Thu, 10 Mar 2011 12:25:14 -0700
Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>, "Costello, Roger L." <costello@mitre.org>, "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-Id: <710C6472-7595-46F4-97F9-FC81689187BF@blackmesatech.com>
To: Andy Davidson <andy_davidson@apple.com>

On Mar 10, 2011, at 12:07 PM, Andy Davidson wrote:

> Just my 2 cents
> I work on a very large project with over 100 engineers building clients and services using Java and ObjC.  Most of these engineers are fairly inexperience and are not experts on xml schema. <choice> is very easy for them to understand, "ref" causes lots of confusion and bugs.
> We use choice in our request/response definitions. The response is either a "result" or an "error". Switching our interfaces to work this way has dramatically reduced the number of bugs in our system
> Please do not remove <choice>

Don't worry: the chances of choice being removed are zero.

Roger's question is partly of purely theoretical interest, and
partly as potential advice for people who find themselves
dissatisfied with the way schema binding tools handle 

* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
Received on Thursday, 10 March 2011 19:25:45 UTC

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