xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18780] New: - [RFC 2396]: ipV6address should be allowed as host as per RFC 2732
Date Mon, 07 Apr 2003 20:44:30 GMT
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=18780>.
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=18780

[RFC 2396]: ipV6address should be allowed as host as per RFC 2732

           Summary: [RFC 2396]: ipV6address should be allowed as host as per
                    RFC 2732
           Product: Xerces2-J
           Version: 2.4.0
          Platform: All
               URL: http://www.ietf.org/rfc/rfc2396.txt
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: mrglavas@ece.uwaterloo.ca


RFC 2732 amended the host production in RFC 2396 to include IPv6reference. The 
Xerces URI implementation currently does not accept URIs of this form, 
rejecting anything that matches the IPv6reference production. This has 
implications for a number of things within Xerces including XML Schema 
validation (anyURI).

>From RFC 2732:
host          = hostname | IPv4address | IPv6reference
ipv6reference = "[" IPv6address "]"

>From RFC 2373:
IPv6address = hexpart [ ":" IPv4address ]
IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT

IPv6prefix  = hexpart "/" 1*2DIGIT

hexpart = hexseq | hexseq "::" [ hexseq ] | "::" [ hexseq ]
hexseq  = hex4 *( ":" hex4)
hex4    = 1*4HEXDIG

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

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


Mime
View raw message