diff --git a/src/xmlschemagenerator.cpp b/src/xmlschemagenerator.cpp index 42d4c1e..6947809 100644 --- a/src/xmlschemagenerator.cpp +++ b/src/xmlschemagenerator.cpp @@ -67,7 +67,7 @@ const wxString &XmlSchemaGenerator::generate ( Grammar::GrammarType grammarType, return mSchema; } - DOMDocument *doc = parser->getDocument(); + xercesc::DOMDocument *doc = parser->getDocument(); if ( doc == NULL ) { mLastError = _ ("Failed to load xml file."); @@ -83,7 +83,7 @@ const wxString &XmlSchemaGenerator::generate ( Grammar::GrammarType grammarType, mSchema << _T("") << getEOL(); - DOMElement *root = doc->getDocumentElement(); + xercesc::DOMElement *root = doc->getDocumentElement(); if ( root != NULL ) { findAllElements ( *root );