[Home] [By Thread] [By Date] [Recent Entries]


Good point. Its not just value space and lexical space that is 
type-checked in XSD but also derivation tree. So a mechanism like the 
one Eric suggests would be necessary to simulate that.

Cheers
Rick


Michael Kay wrote:
>> a toolmaker could easily make a system that checks whether one 
>> RELAX NG schema is a restricted or xsd-style extension of 
>> another. 
>>     
>
> I disagree. Just because month has the value-set 1..12 and percentage has
> the value-set 1..100 does not mean that month is a subtype of percentage.
> Subtyping is a semantic relationship, not merely a syntactic one.
>
> Michael Kay
> http://www.saxonica.com/
>
>
>   


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member