Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 online Ed MerksFriend
Messages: 33137
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: Fri Apr 19 09:23:17 GMT 2024

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

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

Back to the top