XML Schema Equivalence [message #23675] |
Tue, 17 June 2003 11:08  |
Eclipse User |
|
|
|
Originally posted by: pandey.dbai.tuwien.ac.at
Hi,
can someone help me here:
I have two schemas from two different sources.
I want to know if they are equal or not ?
How can I do that.
Kindly give solution for anyway you have.
I shall be thankful.
-Omkant
@DBAI, TU Wien, Austria.
|
|
|
Re: XML Schema Equivalence [message #23759 is a reply to message #23675] |
Wed, 18 June 2003 06:39  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Omkant,
It all depends on how you define equivalence. You could compare that
the two schema files have the same sequence of bytes. You could check
if the two DOMs are equal. You could check if the two TreeIterators
(walking the two black diamond containment trees) each produce a
sequence of equivalent objects with equivalent attributes and cross
references. Or you could define some sort of semantic equivalence which
might ignore top-level declaration order and do match-by-name. The XSD
model doesn't provide any of these directly, but can be used to
implement them...
Omkant wrote:
> Hi,
> can someone help me here:
> I have two schemas from two different sources.
> I want to know if they are equal or not ?
>
> How can I do that.
> Kindly give solution for anyway you have.
> I shall be thankful.
> -Omkant
> @DBAI, TU Wien, Austria.
|
|
|
Re: XML Schema Equivalence [message #573119 is a reply to message #23675] |
Wed, 18 June 2003 06:39  |
Eclipse User |
|
|
|
Omkant,
It all depends on how you define equivalence. You could compare that
the two schema files have the same sequence of bytes. You could check
if the two DOMs are equal. You could check if the two TreeIterators
(walking the two black diamond containment trees) each produce a
sequence of equivalent objects with equivalent attributes and cross
references. Or you could define some sort of semantic equivalence which
might ignore top-level declaration order and do match-by-name. The XSD
model doesn't provide any of these directly, but can be used to
implement them...
Omkant wrote:
> Hi,
> can someone help me here:
> I have two schemas from two different sources.
> I want to know if they are equal or not ?
>
> How can I do that.
> Kindly give solution for anyway you have.
> I shall be thankful.
> -Omkant
> @DBAI, TU Wien, Austria.
|
|
|
Powered by
FUDForum. Page generated in 0.05198 seconds