[jira] Commented: (XERCESC-892) [RFC 2396]: Port numbers not restricted to 0-65535 range.

2005-08-16 Thread cargilld (JIRA)
[ 
http://issues.apache.org/jira/browse/XERCESC-892?page=comments#action_12318886 
] 

cargilld commented on XERCESC-892:
--

If someone updates this bug please also add a comment to xercesj-697, as the 
problem exists for both xercesc and xercesj.

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

  Key: XERCESC-892
  URL: http://issues.apache.org/jira/browse/XERCESC-892
  Project: Xerces-C++
 Type: Bug
   Components: Utilities
 Versions: Nightly build (please specify the date)
  Environment: Operating System: All
 Platform: All
 Reporter: Michael Glavassevich
 Assignee: Xerces-C Developers Mailing List


 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Assigned: (XERCESC-896) [RFC 2396]: One character schemes should not be rejected.

2005-08-16 Thread cargilld (JIRA)
 [ http://issues.apache.org/jira/browse/XERCESC-896?page=all ]

cargilld reassigned XERCESC-896:


Assign To: cargilld  (was: Xerces-C Developers Mailing List)

 [RFC 2396]: One character schemes should not be rejected.
 -

  Key: XERCESC-896
  URL: http://issues.apache.org/jira/browse/XERCESC-896
  Project: Xerces-C++
 Type: Bug
   Components: Utilities
 Versions: Nightly build (please specify the date)
  Environment: Operating System: All
 Platform: All
 Reporter: Michael Glavassevich
 Assignee: cargilld


 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 currently rejects URIs with one characters 
 schemes, such as g:h. This restriction isn't part of RFC 2396, and although 
 it's there to help flag DOS file names, it makes it impossible for users who 
 literally mean to specify URIs with one character scheme names.
 I think if this isn't intended to be fixed it should at least be marked as a 
 limitation within the documentation for Xerces so users know what behaviour 
 to 
 expect.
 I certainly wouldn't expect if I specified a base URI of http://a/b/c/d/e; 
 and 
 relative URI of g:h that the resolved URI be http://a/b/c/d/g:h; instead 
 of g:h.
 Relevant production:
 scheme = alpha *( alpha | digit | + | - | . )
 See Xerces-J Bug #18784.
 References:
 http://www.ietf.org/rfc/rfc2396.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]