Re: new URI("http://example.com/foo#bar").resolve("")

2010-03-09 Thread Jack Bates
Thanks Chris On Tue, 2010-03-09 at 17:41 +, Christopher Hegarty -Sun Microsystems Ireland wrote: > http://bugs.sun.com/view_bug.do?bug_id=6920138 > > -Chris. > > Jack Bates wrote: > > Thanks again Michael, is there a URL for this bug? Can I check its > > status?

Re: new URI("http://example.com/foo#bar").resolve("")

2010-03-09 Thread Jack Bates
Thanks again Michael, is there a URL for this bug? Can I check its status? On Tue, 2010-01-26 at 12:16 +, Michael McMahon wrote: > Jack, > > 6920138 is the reference for this bug. > > Thanks, > Michael. > > Jack Bates wrote: > > Hi Michael, > > &

Re: new URI("http://example.com/foo#bar").resolve("")

2010-01-26 Thread Jack Bates
Thanks Michael On Tue, 2010-01-26 at 12:16 +, Michael McMahon wrote: > Jack, > > 6920138 is the reference for this bug. > > Thanks, > Michael. > > Jack Bates wrote: > > Hi Michael, > > > > On Mon, 2010-01-25 at 11:20 +, Michael McMahon wrot

Re: new URI("http://example.com/foo#bar").resolve("")

2010-01-25 Thread Jack Bates
uot;;, it outputs, $ java Test http://a/b/c/ $ RFC3986 section 5.2.2 also includes, if (R.path == "") then T.path = Base.path; > So, "foo#bar" is correctly discarded, leaving the new URI > > http://example.com/ > > That would be my reading o

new URI("http://example.com/foo#bar").resolve("")

2010-01-23 Thread Jack Bates
new URI("http://example.com/foo#bar";).resolve("") ^ I expect this to return "http://example.com/foo";, but when I run, import java.net.URI; public class Test { public static void main(String[] args) throws Exception { System.out.println(new URI("http://example.com/foo#bar";).resolve("")