|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE : Comparison of Xml documents
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








