[
https://issues.apache.org/jira/browse/WSCOMMONS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518084
]
Saliya Ekanayake commented on WSCOMMONS-230:
--------------------------------------------
Hi Glen,
I got your point and thank you a lot for pointing it out. I've fixed it and
attached the patch herewith.
As you suggested I removed the setParent() method. The parent is now set only
once you add an attribute through addAttribute() method of the OMElement.
Thanks,
--Saliya
> Method to retrieve the owner element of an OMAttribute instance
> ---------------------------------------------------------------
>
> Key: WSCOMMONS-230
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-230
> Project: WS-Commons
> Issue Type: Improvement
> Components: AXIOM
> Reporter: Saliya Ekanayake
> Priority: Minor
> Attachments: omattribute_patch.txt
>
>
> Providing methods to set and get the owner element of an instance of
> OMAttribute is pretty much useful. An OMAttribute instance is then restricted
> to be added only to a single OMElement instance (DOM Attr has similar
> restriction).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]