Hardcoded a base of file:/// so relative URIs can be used.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 27 Sep 2002 21:24:14 +0000 (21:24 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 27 Sep 2002 21:24:14 +0000 (21:24 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@104 cb58f699-b61c-0410-a6fe-9272a202ed29

shib/XMLOriginSiteMapper.cpp

index 372d334..14540ad 100644 (file)
@@ -79,7 +79,8 @@ XMLOriginSiteMapper::XMLOriginSiteMapper(const char* registryURI,
     DOMDocument* doc=NULL;
        try
     {
-        URLInputSource src(NULL,registryURI);
+        static XMLCh base[]={chLatin_f, chLatin_i, chLatin_l, chLatin_e, chColon, chForwardSlash, chForwardSlash, chForwardSlash, chNull};
+        URLInputSource src(base,registryURI);
         Wrapper4InputSource dsrc(&src,false);
                doc=p.parse(dsrc);