Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Help with XSDSimpleTypes
Help with XSDSimpleTypes [message #30426] Mon, 29 September 2003 18:12 Go to next message
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
All,
We are working on a simple data type hierarchy and I seem to be stuck.
I'm starting with an old model we used to use based on XmlSchema. In that
model we have all our simple data types under XsdAnySimpleType in the
hierarchy. However, we have the basetype for AnySimpleType set to a
placeholder in our model for XsdAnyType. I don't see any way to make that
happen in Eclipse XSD. What should the base type be for AnySimpleType?

thanks,

lp
Re: Help with XSDSimpleTypes [message #30495 is a reply to message #30426] Mon, 29 September 2003 18:35 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lance,

In the XSD model there are two versions of anyType, one is simple
(XSDSimpleTypeDefinition) and the other is complex
(XSDComplexTypeDefinition). The anySimpleType has the simple anyType as its
base type. The complex anyType is the base type of everything. I'm not sure
what you are having problems with, but there should be enough hiearchy
available to do the job...


Lance Phillips wrote:

> All,
> We are working on a simple data type hierarchy and I seem to be stuck.
> I'm starting with an old model we used to use based on XmlSchema. In that
> model we have all our simple data types under XsdAnySimpleType in the
> hierarchy. However, we have the basetype for AnySimpleType set to a
> placeholder in our model for XsdAnyType. I don't see any way to make that
> happen in Eclipse XSD. What should the base type be for AnySimpleType?
>
> thanks,
>
> lp
Re: Help with XSDSimpleTypes [message #578692 is a reply to message #30426] Mon, 29 September 2003 18:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31362
Registered: July 2009
Senior Member
Lance,

In the XSD model there are two versions of anyType, one is simple
(XSDSimpleTypeDefinition) and the other is complex
(XSDComplexTypeDefinition). The anySimpleType has the simple anyType as its
base type. The complex anyType is the base type of everything. I'm not sure
what you are having problems with, but there should be enough hiearchy
available to do the job...


Lance Phillips wrote:

> All,
> We are working on a simple data type hierarchy and I seem to be stuck.
> I'm starting with an old model we used to use based on XmlSchema. In that
> model we have all our simple data types under XsdAnySimpleType in the
> hierarchy. However, we have the basetype for AnySimpleType set to a
> placeholder in our model for XsdAnyType. I don't see any way to make that
> happen in Eclipse XSD. What should the base type be for AnySimpleType?
>
> thanks,
>
> lp


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Help with XSDSimpleTypes
Next Topic:Help with XSDAnnotation
Goto Forum:
  


Current Time: Sun Aug 09 16:31:00 GMT 2020

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

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

Back to the top