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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/10/19 21:59:36 UTC

[jira] Updated: (WSCOMMONS-113) Text associated with SOAPFaultValue does not return the proper OMNamespace

     [ http://issues.apache.org/jira/browse/WSCOMMONS-113?page=all ]

Rich Scheuerle updated WSCOMMONS-113:
-------------------------------------

    Attachment: patch.txt

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