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 ]


Le jeudi 06 juillet 2006 à 16:57 +1000, Rick Jelliffe a écrit : 
> Lots of good points.
> For the issue of supertype/subtype/inheritance, there are two aspects. 
> One is whether the constraints can be expressed: and, indeed, the same 
> constraints can be expressed and RELAX NG et al is more powerful than XSD.
> The second is whether constraints can be modeled using inheritance 
> relationships. You are right that RELAX NG does not have any facilities 
> for this (e.g. it has a facility called combine that can be used to do 
> the same kind of thing that XSD substution groups does, but it is not a 
> type-based mechanism.) 
My posts are basically an angle brackets adorned version of these two
statements :) but I also wanted to show that this would be quite easy to
represent with annotations.

Le jeudi 06 juillet 2006 à 08:48 +0200, Eric van der Vlist a écrit :
> ooops... Just found out how substitution groups can be better translated
> in RELAX NG just after having pressed the send button. 

I have consolidated these two posts in my blog:

GPG-PGP: 2A528005
Don't you think all these XML schema languages should work together?
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema

Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


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

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