OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Restrictions on existence of attributes?

[ 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.


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/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS