You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/06/20 22:32:07 UTC

[jira] Resolved: (WSCOMMONS-481) Add a method to OMFactory to create an OMSourcedElement using a QName

     [ https://issues.apache.org/jira/browse/WSCOMMONS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved WSCOMMONS-481.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: Axiom 1.2.9

Fixed in r786905.

> Add a method to OMFactory to create an OMSourcedElement using a QName
> ---------------------------------------------------------------------
>
>                 Key: WSCOMMONS-481
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-481
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: AXIOM
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: Axiom 1.2.9
>
>
> The only way OMFactory offers to create an OMSourcedElement is by specifying the local name and the OMNamespace. On the other hand, in many cases the user code has a QName. Since developers are lazy, very often they will just instantiate OMSourcedElementImpl directly, without going through the factory (see e.g. the code generated by ADB). This is not very clean and we should add a method to OMFactory that allows to create an OMSourcedElement from an OMDataSource and a QName.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.