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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to