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 2002/04/25 02:16:02 UTC
DO NOT REPLY [Bug 8495] New: -
URLInputSource constructor initializes fURL member incorrectly
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=8495>.
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=8495
URLInputSource constructor initializes fURL member incorrectly
Summary: URLInputSource constructor initializes fURL member
incorrectly
Product: Xerces-C++
Version: 1.7.0
Platform: Macintosh
URL: http://http://
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Miscellaneous
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: jason@openinformatics.com
fairly serious error in the two XMLCh* constructor, the fURL member
was being improperly initialized with the (systemID,publicID) instead
of (baseId,systemId)
The following patch needs to be applied:
Index: framework/URLInputSource.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/URLInputSource.cpp,v
retrieving revision 1.1.1.1
diff -b -B -u -r1.1.1.1 URLInputSource.cpp
--- framework/URLInputSource.cpp 1 Feb 2002 22:21:50 -0000 1.1.1.1
+++ framework/URLInputSource.cpp 25 Apr 2002 00:10:31 -0000
@@ -113,7 +113,7 @@
, const XMLCh* const systemId
, const XMLCh* const publicId) :
InputSource(0, publicId)
- , fURL(systemId, publicId)
+ , fURL(baseId, systemId)
{
setSystemId(fURL.getURLText());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org