You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/05/17 18:09:34 UTC

DO NOT REPLY [Bug 20007] New: - [RFC 2396]: Port numbers not restricted to 0-65535 range.

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=20007>.
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=20007

[RFC 2396]: Port numbers not restricted to 0-65535 range.

           Summary: [RFC 2396]: Port numbers not restricted to 0-65535
                    range.
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: All
               URL: http://www.ietf.org/rfc/rfc2396.txt
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: mrglavas@ece.uwaterloo.ca


Revision 1.12 of xercesc/util/XMLUri.cpp in CVS.

I found this one from inspecting the code. It seems that XMLUri for Xerces-C 
was modelled after Xerces-J's URI class, which happens to have several bugs 
(that I've already reported).

The Xerces URI implementation restricts the range of the port portion of a URI 
from 0 to 65535. This restrcition seems to have something to do with TCP/IP 
hosts, but it isn't part of RFC 2396.

Relevant productions:
hostport      = host [ ":" port ]
port          = *digit

See Xerces-J Bug #18777.

References:
http://www.ietf.org/rfc/rfc2396.txt

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org