Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » Redefinitions
Redefinitions [message #36799] Fri, 30 January 2004 04: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 07: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 08: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 07:43 Go to previous message
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue Jul 08 03:35:36 EDT 2025

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

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

Back to the top