Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » comparing XSDTypeDefinitions
comparing XSDTypeDefinitions [message #29511] Mon, 15 September 2003 18:12 Go to next message
Eclipse UserFriend
Originally posted by: cipher8000.yahoo.com

Hi,

Is there any util methods to compare two XSDTypeDefinitions..like below:
int compare(XSDTypeDefinition typeDef1, XSDTypeDefinition typeDef2);

i have two type definition..now i want to see if they are equal or not. i
digged
in the source..it does only name & uri comparsion in XSDNamedComponentImpl.

thanks
-muruga
Re: comparing XSDTypeDefinitions [message #29544 is a reply to message #29511] Mon, 15 September 2003 19:16 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Maruga,

No. Equality isn't defined in the XML Schema spec and one could think of
equality in terms of semantic equivalence of the abstract components or in
terns of structural equivalent of the syntactic components; there is often more
than one syntactic form with the same semantic result...


Muruga Chinnananchi wrote:

> Hi,
>
> Is there any util methods to compare two XSDTypeDefinitions..like below:
> int compare(XSDTypeDefinition typeDef1, XSDTypeDefinition typeDef2);
>
> i have two type definition..now i want to see if they are equal or not. i
> digged
> in the source..it does only name & uri comparsion in XSDNamedComponentImpl.
>
> thanks
> -muruga
Re: comparing XSDTypeDefinitions [message #578174 is a reply to message #29511] Mon, 15 September 2003 19:16 Go to previous message
Eclipse UserFriend
Maruga,

No. Equality isn't defined in the XML Schema spec and one could think of
equality in terms of semantic equivalence of the abstract components or in
terns of structural equivalent of the syntactic components; there is often more
than one syntactic form with the same semantic result...


Muruga Chinnananchi wrote:

> Hi,
>
> Is there any util methods to compare two XSDTypeDefinitions..like below:
> int compare(XSDTypeDefinition typeDef1, XSDTypeDefinition typeDef2);
>
> i have two type definition..now i want to see if they are equal or not. i
> digged
> in the source..it does only name & uri comparsion in XSDNamedComponentImpl.
>
> thanks
> -muruga
Previous Topic:comparing XSDTypeDefinitions
Next Topic:Extending the XSD metamodel
Goto Forum:
  


Current Time: Wed Jul 23 12:04:24 EDT 2025

Powered by FUDForum. Page generated in 0.10382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top