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 2010/03/24 22:55:27 UTC

[jira] Resolved: (WSCOMMONS-519) bug in axiom-api class StAXOMBuilder n the method processNamespaceData, generating wrong namespace.

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

Andreas Veithen resolved WSCOMMONS-519.
---------------------------------------

    Resolution: Invalid

Marking this issue as invalid. Reasons:

- The reporter failed to provide the necessary input to reproduce the problem.
- The suggested change would badly break namespace handling: since namespaceURIFromParser is used inside a loop to store the URI of the namespace declaration being processed, it would actually set the namespace of the element based on the last namespace declaration on the element.
- It is extremely unlikely that StAXOMBuilder#processNamespaceData has a bug that went unnoticed until now.

> bug in axiom-api class StAXOMBuilder n the method processNamespaceData, generating wrong namespace.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-519
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-519
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>    Affects Versions: Axiom 1.2.8
>         Environment: Linux Ubuntu
>            Reporter: Italivio Correa
>            Priority: Critical
>         Attachments: AppExample.zip
>
>
> In class StAXOMBuilder found an error in the method processNamespaceData. The command if (namespaceURI! = Null & & namespaceURI.length ()> 0) is wrong, should be so if (namespaceURIFromParser! = Null & & namespaceURIFromParser.length ()> 0). This error is generating wrong namespace for the tags.

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