Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSDSimpleTypeDefinition::facetContents not sortable?
XSDSimpleTypeDefinition::facetContents not sortable? [message #604273] Wed, 22 July 2009 07:55
Joachim is currently offline Joachim
Messages: 16
Registered: July 2009
Junior Member
Hi,

I have created a XSDSimpleTypeDefinition object without serializing it
to a resource, so the "element" pointer is null. I have added several
XSDEnumerationFacet objects to the XSDSimpleTypeDefinition::facetContents.
Afterwards, I try to move the XSDEnumerationFacets inside the
facetContents. As a result, the facetContents is a sorted list, but I
get a NullPointerException in
XSDSimpleTypeDefinitionImpl::getAdoptionParentNode.

Before I create a Bugzilla report, I tend to ask the group, if this is a
intended behavior.
Is it necessary to assign a resource to the XSDSchema of the
XSDSimpleTypeDefinition, before moving its contents?

Regards,
Joachim
Previous Topic:How to copy XSDSchema object
Next Topic:How to access the ID of a XSDComponent
Goto Forum:
  


Current Time: Sat Jul 26 07:14:15 EDT 2014

Powered by FUDForum. Page generated in 0.02429 seconds