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

Re: XML Schema list simple type

From: Martin Gudgin <marting@develop.com>
Date: Sun, 24 Feb 2002 11:56:54 -0000
Message-ID: <000001c1bd39$31da7330$1904010a@greyarea>
To: "Jacek Kopecky" <jacek@systinet.com>
Cc: <xml-dist-app@w3.org>
For the record, such a type is now part of the soap-encoding schema[1]

Gudge

[1] http://www.w3.org/2000/xp/Group/1/10/11/soap-encoding.xsd

----- Original Message ----- 
From: "Jacek Kopecky" <jacek@systinet.com>
To: "Martin Gudgin" <marting@develop.com>
Cc: <xml-dist-app@w3.org>
Sent: Friday, January 18, 2002 9:45 AM
Subject: 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 Sunday, 24 February 2002 08:44:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:06 GMT