[Xmlstorage-commits] SF.net SVN: xmlstorage: [94] trunk/c++/xs-xerces.cpp
                
                Brought to you by:
                
                    martinfuchs
                    
                
            
            
        
        
        
    | 
      
      
      From: <mar...@us...> - 2008-05-30 12:02:28
      
     | 
| Revision: 94
          http://xmlstorage.svn.sourceforge.net/xmlstorage/?rev=94&view=rev
Author:   martinfuchs
Date:     2008-05-30 05:02:36 -0700 (Fri, 30 May 2008)
Log Message:
-----------
fix problems with the Xerces interface of XMLStorage reported by Tobias Lange
Modified Paths:
--------------
    trunk/c++/xs-xerces.cpp
Modified: trunk/c++/xs-xerces.cpp
===================================================================
--- trunk/c++/xs-xerces.cpp	2008-05-30 12:01:49 UTC (rev 93)
+++ trunk/c++/xs-xerces.cpp	2008-05-30 12:02:36 UTC (rev 94)
@@ -1,8 +1,8 @@
 
  //
- // XML storage C++ classes version 1.2
+ // XML storage C++ classes version 1.3
  //
- // Copyright (c) 2006 Martin Fuchs <mar...@gm...>
+ // Copyright (c) 2006, 2008 Martin Fuchs <mar...@gm...>
  //
 
  /// \file xs-xerces.cpp
@@ -62,7 +62,7 @@
 	{
 		XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::Initialize();
 	}
-};
+} s_XercesInit;
 
 
 XMLReaderBase::XMLReaderBase(XMLNode* node, InputSource* source, bool adoptSource)
@@ -137,7 +137,7 @@
 {
 }
 
-XercesXMLReader::XercesXMLReader(XMLNode* node, const XMLByte* buffer, size_t bytes, const std::string& system_id=std::string())
+XercesXMLReader::XercesXMLReader(XMLNode* node, const XMLByte* buffer, size_t bytes, const std::string& system_id)
 #ifdef UNICODE
  :	XMLReaderBase(node, new XERCES_CPP_NAMESPACE_QUALIFIER MemBufInputSource(buffer, bytes, system_id, true)
 #else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |