comparing XSDTypeDefinitions [message #29511] |
Mon, 15 September 2003 18: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 19: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 19:16  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.10382 seconds