Recently I have just found a bug(maybe) in Parser.java file. Inside the method public Node parse(URL locationURL) throws ParserException, the problem is, when it try to get port of URL (int port = locationURL.getPort()), but the URL is like http://host/abc.xml which loses the port. The value will be -1, which leads to the exception at org.cybergarage.http.HTTPRequest.post(host, port), as the socket cannot open the port with -1.
Thanks in advance.
You are right. I have added your suggestion into the trunk repository as the following.
Thanks for your report :-)