Re: XML Schema list simple type

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 UTC