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

Michael Kay <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.