You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/05/31 03:11:26 UTC
DO NOT REPLY [Bug 20378] New: -
URLs that don't have trailing slashes are not properly handled
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=20378>.
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=20378
URLs that don't have trailing slashes are not properly handled
Summary: URLs that don't have trailing slashes are not properly
handled
Product: Xerces2-J
Version: 2.4.0
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: SAX
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: elharo@metalab.unc.edu
Use sax.Counter to check http://www.cafeconleche.org for well-formedness. (NOT
http://www.cafeconleche.org/ The lack of the trailing slash is significant.
Xerces will fail to properly resolve the relative URL
(DTD/xhtml-transitional.dtd) in the system identifier. Instead of looking for
http://www.cafeconleche.org/DTD/xhtml-transitional.dtd it looks for
http://www.cafeconleche.orgDTD/xhtml-transitional.dtd
This is not just a problem with sax.Counter. The real problem is somewhere
inside the parser code. I first encountered it when using Xerces to parse this
document in my own code. However, this is an easy way to reproduce the problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org