Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Redefinitions
Redefinitions [message #36799] Fri, 30 January 2004 09:55 Go to next message
Eclipse UserFriend
Originally posted by: niemaz.xrce.xerox.com

Hi,
I'd like to find out when a type is being redefined or not.

I guest I should just compare the typedefinitions but which one of next
methods should I use?
getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
getItemTypeDefinition, ... ?

Then, how would I get access to the redefinition itself?
How to find out if it's a restriction or an extension?

so many questions .. ;-)

thanx,

--mike
Re: Redefinitions [message #36833 is a reply to message #36799] Fri, 30 January 2004 12:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: niemaz.xrce.xerox.com

Have found the getDerivationMethod for complex types.
Fine.
What about simple types?

--mike

mike wrote:

> Hi,
> I'd like to find out when a type is being redefined or not.

> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?

> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?

> so many questions .. ;-)

> thanx,

> --mike
Re: Redefinitions [message #36901 is a reply to message #36799] Fri, 30 January 2004 13:26 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Mike,

I'm not sure if you are really asking about <redefine>. Are you?


mike wrote:

> Hi,
> I'd like to find out when a type is being redefined or not.
>
> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?
>
> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?
>
> so many questions .. ;-)
>
> thanx,
>
> --mike
Re: Redefinitions [message #583263 is a reply to message #36799] Fri, 30 January 2004 12:43 Go to previous message
mike is currently offline mikeFriend
Messages: 35
Registered: July 2009
Member
Have found the getDerivationMethod for complex types.
Fine.
What about simple types?

--mike

mike wrote:

> Hi,
> I'd like to find out when a type is being redefined or not.

> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?

> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?

> so many questions .. ;-)

> thanx,

> --mike
Re: Redefinitions [message #583303 is a reply to message #36799] Fri, 30 January 2004 13:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Mike,

I'm not sure if you are really asking about <redefine>. Are you?


mike wrote:

> Hi,
> I'd like to find out when a type is being redefined or not.
>
> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?
>
> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?
>
> so many questions .. ;-)
>
> thanx,
>
> --mike


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:nullException
Next Topic:nullException
Goto Forum:
  


Current Time: Fri Mar 29 07:55:28 GMT 2024

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

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

Back to the top