Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - RE: [xml-dev] Restrictions on existence of attributes? [Thread Next] Re: [xml-dev] Restrictions on existence of attributes?To: xml-dev@-----.---.--- Date: 7/6/2006 8:25:00 AM 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/ > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
