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] RE : [xml-dev] Comparison of Xml documents

[ Lists Home | Date Index | Thread Index ]

On Wed, 2003-11-26 at 18:25, David Carlisle wrote:
>   You can use the RELAX NG "interleave" patterns to say that a schema
>   processor shouldn't check the relative order of the elements with
>   virtually no restrictions.
> 
> Yes but that  says that both a,b,c and b,a,c etc are allowed, it doesn't
> say whether an application should treat these as the same thing, which
> is the point at issue here. 

Right! I had missed that piece of context...

In practical, it is even often the case that you allow different
relative orders because the order is significant.

In fact with RELAX NG per see you can't say anything to an application
because the main goal of a RNG schema is validation and with W3C XML
Schema that could convey such information in its PSVI, you don't have
the necessary flexibility to express that.

If that's a real need, one could use RELAX NG annotations to do so.

Eric
-- 
Read me on XMLhack.
                                      http://xmlhack.com/author.php?id=8
Upcoming XML schema languages tutorials:
 - Philadelphia -full day- ( 7/12/2003)        http://masl.to/?V28612FC5
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

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

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