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

Michael Kay <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
On 16/06/2011 18:21, Costello, Roger L. wrote:
> Is the following simpleType, B, equivalent to the above B?
>

As Mukul says, they are equivalent in the sense that the set of values 
accepted by one is the same as the set of values accepted by the other. 
But they are not the same type, any more than an xs:string with pattern 
[+-][0-9]+ is the same type as xs:integer.

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.