[
Lists Home |
Date Index |
Thread Index
]
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/
>
>
>
|