You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2005/07/08 21:03:14 UTC

[jira] Moved: (ADDR-3) org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) should support empty string values for uri

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

Davanum Srinivas moved WSFX-45 to ADDR-3:
-----------------------------------------

      Project: Addressing  (was: WSFX)
          Key: ADDR-3  (was: WSFX-45)
    Component:     (was: Addressing)

> org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) should support empty string values for uri
> ---------------------------------------------------------------------------------------------------------------------
>
>          Key: ADDR-3
>          URL: http://issues.apache.org/jira/browse/ADDR-3
>      Project: Addressing
>         Type: Bug
>  Environment: N/A - Java code
>     Reporter: Michael Cavedon

>
> org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) appears to be throwing an exception when I pass in an empty string as the uri value.
> The exception is being thrown in new URI(""):
> this.action = new Action(new URI(uri)); 
> I think I should be able to pass in an empty string.  I think setAction(String uri) should look like:
>             if (uri.trim().equals(""))
>                 this.action = new Action(new URI());
>             else
>                 this.action = new Action(new URI(uri));

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