Re: What is this simpleType's "base" type?

On 17/06/2011 23:10, Costello, Roger L. wrote:
> Hi Folks,
>
> This simpleType, LotteryNumbers, specifies a list of exactly 6 OneToNintyNine values:
>
>      <xsd:simpleType name="LotteryNumbers">
>          <xsd:restriction>
>              <xsd:simpleType>
>                  <xsd:list itemType="OneToNinetyNine"/>
>              </xsd:simpleType>
>              <xsd:length value="6"/>
>          </xsd:restriction>
>      </xsd:simpleType>
>
>
> Consider again the LotteryNumbers simpleType. What is its "base" type? Is it the (anonymous) list type:
>
>              <xsd:simpleType>
>                  <xsd:list itemType="OneToNinetyNine"/>
>              </xsd:simpleType>
>

Yes,

Michael Kay
Saxonica

Received on Friday, 17 June 2011 22:39:35 UTC