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

Re: XML Schema list simple type

From: Martin Gudgin <marting@develop.com>
Date: Fri, 18 Jan 2002 12:08:45 -0000
Message-ID: <006b01c1a018$e2593180$807ba8c0@greyarea>
To: "Jacek Kopecky" <jacek@systinet.com>
Cc: <xml-dist-app@w3.org>
I think we can do it with a combination of a union, a list and the pattern
facet. Leave it with me I'll try to post a type definition by the end of
today

Gudge

----- 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 Friday, 18 January 2002 07:09:48 GMT

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