comparing XSDTypeDefinitions [message #29511] |
Mon, 15 September 2003 22:12 |
Eclipse User |
|
|
|
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 23:16 |
Eclipse User |
|
|
|
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 23:16 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
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
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04087 seconds