XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Backward and forward compatible schemas ... RelaxNG --> Yes ... XML Schema --> No

Costello, Roger L. a écrit :
> Hi Folks,
>  
> I am trying to characterize the types of changes to schemas which
> enable backward and forward compatibility.
>  
> [Definition] An old and new schema are backward and forward compatible
> with the other if each can validate XML instance documents that were
> written to the other schema.  Thus, a new application can process XML
> instances from an old application, and an old application can process
> XML instances from a new application.
>
> Assertion: Relax NG supports backward and forward compatibility but XML
> Schemas does not.
>   
hi Roger,

old schema :
(a|b)*
new schema :
(b|a)*

I'm almost sure that one can express these simple content models with 
WXS and RNG :)

IMHO, changes to schemas which enable backward and forward compatibility 
lead to 2 equivalent schemas (as they are validating the same instances)

-- 
Cordialement,

              ///
             (. .)
 --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
 -----------------------------
 http://reflex.gforge.inria.fr/
       Have the RefleX !


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS