Is a simpleType, A, that restricts a union simpleType equivalent to a simpleType, A, that is a union?

"Costello, Roger L." <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
Hi Folks,

This simpleType, B, restricts the simpleType, A, which is a union type: 
    
    <xsd:simpleType name="B">
        <xsd:restriction base="A" />
    </xsd:simpleType>

    <xsd:simpleType name="A">
        <xsd:union memberTypes="xsd:int xsd:boolean" />
    </xsd:simpleType>

Is the following simpleType, B, equivalent to the above B?

    <xsd:simpleType name="B">
        <xsd:union memberTypes="xsd:int xsd:boolean" />
    </xsd:simpleType>

/Roger
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.