You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org> on 2005/12/09 09:08:10 UTC

[jira] Resolved: (AXIS2-329) StAXOMBuilder omits setting for the namespace that is bound to xml prefix

     [ http://issues.apache.org/jira/browse/AXIS2-329?page=all ]
     
Ruchith Udayanga Fernando resolved AXIS2-329:
---------------------------------------------

    Fix Version: 0.94
     Resolution: Fixed

Fixed the findDeclaredNamespace method in OMElementImpl to recognize the "xml" prefix and "http://www.w3.org/XML/1998/namespace" namespace.

> StAXOMBuilder omits setting for the namespace that is bound to xml prefix
> -------------------------------------------------------------------------
>
>          Key: AXIS2-329
>          URL: http://issues.apache.org/jira/browse/AXIS2-329
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>  Environment: Ubuntu Linux 5.04, Java 1.4.2_09,Eclipse 3.0.2
>     Reporter: Sanka Samaranayake
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor
>      Fix For: 0.94

>
> StxOMBuilder omits the settings for the namespace that is bound to the xml prefix. Hence it always return NULL for any attribute value which is bound to that namespace.
> e.g.
> <wsp:Policy xml:base="uri:thisBase"
> xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
>  ...
> </wsp:Policy>
> The attribute 'xml:base' always returns as NULL in the corresponding OMElement. The namespace bound to xml prefix is fixed and should be wired in any parser that is namespace aware.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira