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

RE: ISSUE-16: Multiple patterns for a single data structure

From: <paul.downey@bt.com>
Date: Mon, 30 Jan 2006 14:32:49 -0000
Message-ID: <2A7793353757DB4392DF4DFBBC9522550276F2A6@I2KM11-UKBR.domain1.systemhost.net>
To: <public-xsd-databinding@w3.org>, <public-xsd-databinding@w3.org>

> It seems apparent that we will have structures identified in our roadmap 
> which may be exhibited in Schema using more than one pattern. 

> Should we treat all such patterns equally, or should we recommend some 
> patterns as being preferred over the rest?

I see this as being tricky, hence raising the issue :-)

Ed's Null type is a good example. How do we evaluate ASN.1's
pattern as being somehow *better* than XMPP's?

The same applies to the alternative open enumerated type, 
offered by Pete, over the union based version:

> Should we even cite one pattern as being the canonical pattern for a 
> given data structure? 

I think this has value, so long as we don't fall
foul of discouraging the other, valid patterns, *but*
this does expose the relationship between a pattern likely
to lead to a good user experience with databinding tools, 
and a pattern having to be mapped onto a particular structure
regardless of the processing environment.

Received on Monday, 30 January 2006 14:32:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:12 UTC