Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Redefinitions
Redefinitions [message #36799] Fri, 30 January 2004 04:55 Go to next message
Eclipse User
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 07:43 Go to previous messageGo to next message
Eclipse User
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 08:26 Go to previous message
Eclipse User
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 07:43 Go to previous message
mike is currently offline mike
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 08:26 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25910
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
Previous Topic:nullException
Next Topic:nullException
Goto Forum:
  


Current Time: Wed Jul 23 10:13:05 EDT 2014

Powered by FUDForum. Page generated in 0.01623 seconds