XSDSimpleTypeDefinition::facetContents not sortable? [message #78032] |
Wed, 22 July 2009 11:55 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Joachim![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=j.back%40mid.de) 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
|
|
|
Re: XSDSimpleTypeDefinition::facetContents not sortable? [message #78068 is a reply to message #78032] |
Thu, 23 July 2009 16:20 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33196 Registered: July 2009 |
Senior Member |
|
|
Joachim,
It doesn't sound good. Open a bugzilla and I'll figure out if there's a
bug or a user error...
Joachim Back wrote:
> 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
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: XSDSimpleTypeDefinition::facetContents not sortable? [message #604278 is a reply to message #78032] |
Thu, 23 July 2009 16:20 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33196 Registered: July 2009 |
Senior Member |
|
|
Joachim,
It doesn't sound good. Open a bugzilla and I'll figure out if there's a
bug or a user error...
Joachim Back wrote:
> 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
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03079 seconds