Text associated with SOAPFaultValue does not return the proper OMNamespace
--------------------------------------------------------------------------

                 Key: WSCOMMONS-113
                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-113
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
            Reporter: Rich Scheuerle


The TextOMImpl node child of a SOAPFaultValue has the value "env:Sender", which 
is correct.

However if I call TextOMImpl.getNamespace(), it returns a null...it should 
return the OMNamespace associated with prefix "env".
If I call TextOMImpl.getLocalName(), it returns the entire qualified string 
("env:Sender").

This could be fixed in the StAXSOAPModelBuilder specifically for Fault Values, 
but that would not address the general case.

Instead I have a patch to dynamically determine the OMNamespace on the 
TextOMImpl if the text contains a colonized value.
This is a one-time check and should not impact performance.

I also updated the StAXSOAPModelBuilderTest to add an assertion to verify the 
change.  All tests pass, I will run the Axis tests prior to committing the 
change.

Thanks,
scheu

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to