[ http://issues.apache.org/jira/browse/ADDR-3?page=comments#action_12368999 ]
Clive Brettingham-Moore commented on ADDR-3: -------------------------------------------- Actually looks like the patches are roughly the same (should have read it first; I plead too much slashdot), with some differences in approach (mine evolved from the trunk to work around sep '05, updated to work with trunk today). > 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 > Attachments: addressing.diff, empty-action.diff > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
