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 "Craig Forster (JIRA)" <ji...@apache.org> on 2007/06/06 09:14:26 UTC

[jira] Created: (WSCOMMONS-207) Finding namespace based on prefix is broken

Finding namespace based on prefix is broken
-------------------------------------------

                 Key: WSCOMMONS-207
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-207
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
         Environment: Linux
            Reporter: Craig Forster


When searching for a previously declared namespace based on the prefix, the OMElement javadoc states to set the "uri" to null.  The implementation of this interface, org.apache.axiom.om.impl.llom.OMElementImpl, immediately returns if the uri is null.

This means that you cannot find a namespace URI based on the prefix.

-- 
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Updated: (WSCOMMONS-207) Finding namespace based on prefix is broken

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated WSCOMMONS-207:
--------------------------------------

    Attachment: WSCOMMONS-207.patch.txt

Attached patch for this issue. Need to run the Axis2 tests before committing this.

> Finding namespace based on prefix is broken
> -------------------------------------------
>
>                 Key: WSCOMMONS-207
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-207
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: Linux
>            Reporter: Craig Forster
>             Fix For: Axiom 1.2.8
>
>         Attachments: WSCOMMONS-207.patch.txt
>
>
> When searching for a previously declared namespace based on the prefix, the OMElement javadoc states to set the "uri" to null.  The implementation of this interface, org.apache.axiom.om.impl.llom.OMElementImpl, immediately returns if the uri is null.
> This means that you cannot find a namespace URI based on the prefix.

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


[jira] Updated: (WSCOMMONS-207) Finding namespace based on prefix is broken

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated WSCOMMONS-207:
--------------------------------------

    Fix Version/s: Axiom 1.2.8

> Finding namespace based on prefix is broken
> -------------------------------------------
>
>                 Key: WSCOMMONS-207
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-207
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: Linux
>            Reporter: Craig Forster
>             Fix For: Axiom 1.2.8
>
>
> When searching for a previously declared namespace based on the prefix, the OMElement javadoc states to set the "uri" to null.  The implementation of this interface, org.apache.axiom.om.impl.llom.OMElementImpl, immediately returns if the uri is null.
> This means that you cannot find a namespace URI based on the prefix.

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


[jira] Resolved: (WSCOMMONS-207) Finding namespace based on prefix is broken

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved WSCOMMONS-207.
---------------------------------------

    Resolution: Fixed
      Assignee: Andreas Veithen

Commit my patch. All Axis2 tests pass.

> Finding namespace based on prefix is broken
> -------------------------------------------
>
>                 Key: WSCOMMONS-207
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-207
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: Linux
>            Reporter: Craig Forster
>            Assignee: Andreas Veithen
>             Fix For: Axiom 1.2.8
>
>         Attachments: WSCOMMONS-207.patch.txt
>
>
> When searching for a previously declared namespace based on the prefix, the OMElement javadoc states to set the "uri" to null.  The implementation of this interface, org.apache.axiom.om.impl.llom.OMElementImpl, immediately returns if the uri is null.
> This means that you cannot find a namespace URI based on the prefix.

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