OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Comparison of Xml documents

[ Lists Home | Date Index | Thread Index ]

Title: Message
Hi all,
I wanted to submit you a question.
Could it be a good idea that schemas (in general) give informations in order to compare Xml documents?
Precisely, today, it's not possible to compare nicely two documents knowing that they are validated by the same schema.
For example :
Schemas give ordering informations on different tags, I can specify that tags <b> are before tags <c> in tag <a>.
Eventually I can specify that tags <e> are ordered by the "att1" attribute of tag <e> in tags <d>.
What if I want to compare the to following documents :
  <Player name="Bob"/>
  <Player name="Wil"/>
  <Player name="Wil"/>
  <Player name="Bob"/>
Are they identical or different?
I would want to have the possibility to say : in tag <Winners> the tags <Player> are ordered (so the two documents are not the same), or the tags <Player> are unordered (so the two documents are the same).
Should those informations (comparison infos) be in a "comparison" schema rather than merged in the validating schema?
Anyone knows about such a "comparison" schema standard spec existing?


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

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