dbertoni    2003/08/06 22:55:37

  Modified:    c/src/xalanc/PlatformSupport URISupport.cpp
  Log:
  Make sure previous patch is compatible with earlier versions of Xerces-C.
  
  Revision  Changes    Path
  1.3       +4 -1      xml-xalan/c/src/xalanc/PlatformSupport/URISupport.cpp
  
  Index: URISupport.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/URISupport.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- URISupport.cpp    7 Aug 2003 05:29:08 -0000       1.2
  +++ URISupport.cpp    7 Aug 2003 05:55:37 -0000       1.3
  @@ -162,8 +162,11 @@
                        XALAN_USING_XERCES(XMLPlatformUtils)
   
                        // Assume it's a file specification...
  +#if _XERCES_VERSION >= 20300
                        const ArrayJanitor<XMLCh>       
theFullPathGuard(XMLPlatformUtils::getFullPath(c_wstr(urlString)), 
XMLPlatformUtils::fgMemoryManager);
  -
  +#else
  +                     const ArrayJanitor<XMLCh>       
theFullPathGuard(XMLPlatformUtils::getFullPath(c_wstr(urlString)));
  +#endif
                        const XalanDOMChar* const       theFullPath = 
theFullPathGuard.get();
                        assert(theFullPath != 0);
   
  
  
  

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

Reply via email to