XML Schema list simple type

 Gudge,
 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)
                   http://www.systinet.com/

Received on Friday, 18 January 2002 04:45:19 UTC