XercesClasses.h

00001 //---------------------------------------------------------------------------
00002 
00003 #ifndef XercesClassesH
00004 #define XercesClassesH
00005 //---------------------------------------------------------------------------
00006 #include <xercesc/dom/DOMErrorHandler.hpp>
00007 #include <xercesc/dom/DOMEntityResolver.hpp>
00008 #include <xercesc/sax/InputSource.hpp>
00009 
00010 class DOMError;
00011 
00012 //
00013 // Xerces classes
00014 // These are extensions needed to fully implement the Xerces XML parser into the
00015 // model.
00016 
00017 // Copyright 2003 Charles D. Canham.
00018 
00019 
00030 class clXercesErrorHandler : public xercesc::DOMErrorHandler {
00031 
00035   bool handleError(const xercesc::DOMError &oDomError);
00036 
00037 };
00038 
00039 
00040 /*////////////////////////////////////////////////////////////////////////////
00041   clModelEntityResolver
00042   This class forces the Xerces parser to validate input XML files against the
00043   DTD documents in the model's XML directory, no matter what the XML file itself
00044   says.
00045 
00046   Currently this is not working.
00047 /*////////////////////////////////////////////////////////////////////////////
00048 //class clModelEntityResolver : public DOMEntityResolver {
00049 // public:
00050 
00051 // DOMInputSource* resolveEntity (const XMLCh* const publicId,
00052 //     const XMLCh* const systemId, const XMLCh* const baseURI);
00053 //};
00054 //---------------------------------------------------------------------------
00055 #endif

Generated on Thu Jan 26 13:44:36 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.6-NO