Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XParsers.cpp File Reference
#include <fstream>
#include <xercesc/sax/SAXParseException.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include "XParsers.hpp"
#include "XString.hpp"
#include "md5.h"

Go to the source code of this file.

Macros

#define FIX_XERCES_getElementById_BUG   true
 
#define X(str)   XString(str).unicode_str()
 
#define S(str)   str.c_str()
 

Functions

xercesc::DOMDocument * parseInputDocument (const XString &xmlFile, bool keep)
 
xercesc::DOMDocument * buildDOMDocument (const XString &xmlFile, bool keep)
 

Variables

std::string last_md5_checksum = ""
 

Macro Definition Documentation

#define FIX_XERCES_getElementById_BUG   true

Definition at line 68 of file XParsers.cpp.

#define S (   str)    str.c_str()
#define X (   str)    XString(str).unicode_str()

Definition at line 70 of file XParsers.cpp.

Referenced by buildDOMDocument().

Function Documentation

xercesc::DOMDocument* buildDOMDocument ( const XString xmlFile,
bool  keep 
)

Definition at line 142 of file XParsers.cpp.

References XString::basename(), MyDOMErrorHandler::getSawErrors(), parseInputDocument(), and X.

Referenced by main().

xercesc::DOMDocument* parseInputDocument ( const XString xmlFile,
bool  keep 
)

Definition at line 73 of file XParsers.cpp.

References MyEntityResolver::GetMD5_checksum(), and MyOwnErrorHandler::getSawErrors().

Referenced by buildDOMDocument(), and main().

Variable Documentation

std::string last_md5_checksum = ""

Definition at line 61 of file XParsers.cpp.

Referenced by MyEntityResolver::GetMD5_checksum().