[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE : Comparison of Xml documents


w3c xml schema documents comparison
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
------------------------------------------------------------------------


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.