Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Settable properties for XSDSimpleTypeDefinition
Settable properties for XSDSimpleTypeDefinition [message #40874] Fri, 09 April 2004 14:06 Go to next message
Dennis Fuglsang is currently offline Dennis FuglsangFriend
Messages: 77
Registered: July 2009
Member
Ed and Frank,

I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
method that the property descriptors for basetype and itemtype are not
settable. Should they be? If I create a new XSDSimpleTypeDefinition
instance how can I specify what datatype it restricts? Or for a
XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
the item types are?

Thanks in advance,

Dennis Fuglsang
Re: Settable properties for XSDSimpleTypeDefinition [message #41000 is a reply to message #40874] Mon, 12 April 2004 11:01 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Dennis,

It's a very tricky to get these all right. It only makes sense to set the item
type if it's a list, it only makes sense to set the base type if it not a list
or union, and there's no property for setting union members. In the sample
editor, all these things can be done in the source view, so I haven't worried
about it...


Dennis Fuglsang wrote:

> Ed and Frank,
>
> I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
> method that the property descriptors for basetype and itemtype are not
> settable. Should they be? If I create a new XSDSimpleTypeDefinition
> instance how can I specify what datatype it restricts? Or for a
> XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
> the item types are?
>
> Thanks in advance,
>
> Dennis Fuglsang
Re: Settable properties for XSDSimpleTypeDefinition [message #585368 is a reply to message #40874] Mon, 12 April 2004 11:01 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Dennis,

It's a very tricky to get these all right. It only makes sense to set the item
type if it's a list, it only makes sense to set the base type if it not a list
or union, and there's no property for setting union members. In the sample
editor, all these things can be done in the source view, so I haven't worried
about it...


Dennis Fuglsang wrote:

> Ed and Frank,
>
> I noticed in the XSDSimpleTypeDefinitionItemProvider.getPropertyDescriptors
> method that the property descriptors for basetype and itemtype are not
> settable. Should they be? If I create a new XSDSimpleTypeDefinition
> instance how can I specify what datatype it restricts? Or for a
> XSDSimpleTypeDefinition instance of variety type LIST how do I specify what
> the item types are?
>
> Thanks in advance,
>
> Dennis Fuglsang


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:URI converting - set resource base
Next Topic:Help on Extending XSD API to write user specific classes
Goto Forum:
  


Current Time: Thu Apr 25 09:17:48 GMT 2024

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

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

Back to the top