You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/10/02 19:47:34 UTC

DO NOT REPLY [Bug 23576] New: - IPv4 dependencies in AXIS - org.apache.axis.types.URI

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23576>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23576

IPv4 dependencies in AXIS  - org.apache.axis.types.URI

           Summary: IPv4 dependencies in AXIS  - org.apache.axis.types.URI
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: s.jiang@cs.ucl.ac.uk


In org.apache.axis.types.URI, there are a few IPv4 dependencies as following.

Line 611-620,  "// host is everything up to ':'"
For literal IPv6 addresses, ':' is more than separate symbol between hostname 
and port number. In URI and URL, literal IPv6 addresses are included in '[' 
and ']'. Therefore, we can ingore the context between them to getting the 
separate symbol between hostname and port number, as following:

if (testChar == '[')
       index = p_uriSpec.indexOf(']');

Line 973, function isWellFormedAddress() is an IPv4-only function. When the 
input is literal IPv6 address, it simply throw into an Exception.

We don't go through the whole URI class definition, or any other java file. We 
found the above IPv4 dependencies only because Globus invoke it and give us 
error information when we used literal IPv6 address.

-Sheng