Lists Home |
Date 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.
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
> 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