W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2002

XML Schema list simple type

From: Jacek Kopecky <jacek@systinet.com>
Date: Fri, 18 Jan 2002 10:45:17 +0100 (CET)
To: Martin Gudgin <marting@develop.com>
cc: <xml-dist-app@w3.org>
Message-ID: <Pine.LNX.4.33.0201181039350.32025-100000@mail.idoox.com>
 I'm asking you as an XML Schema language expert (the only one I 
know of):
 in SOAP Encoding arrays we have the attribute arraySize that has 
the value a list of sizes. The size can be a positiveInteger, 
except that the first position can also specify an asterisk which 
means "the highest dimension is not specified beforehand".
 For example, arraySize="5 3" is an array 5x3 elements, while 
arraySize="* 3" is an array of an unspecified number of 3-column 
rows. This should be easy to represent in Schema: a List of a 
simple type that either is an asterisk or a positiveInteger.
 The asterisk, if present, must be only the leftmost position, 
though, because otherwise the handling would be ambiguous. Is 
this constraint representable in a schema simple type?
 In the current editor's copy, we have a BNF notation but I'd 
prefer if the schema for Encoding could convey that.
 Best regards,

                   Jacek Kopecky

                   Senior Architect, Systinet (formerly Idoox)
Received on Friday, 18 January 2002 04:45:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:45 UTC