Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » Settable properties for XSDSimpleTypeDefinition
Settable properties for XSDSimpleTypeDefinition [message #40874] Fri, 09 April 2004 10:06 Go to next message
Eclipse UserFriend
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 07: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 07:01 Go to previous message
Eclipse UserFriend
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
Previous Topic:URI converting - set resource base
Next Topic:Help on Extending XSD API to write user specific classes
Goto Forum:
  


Current Time: Wed Jul 23 03:47:23 EDT 2025

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

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

Back to the top