From 3387f756fa2d8f59057e042f754a9f6dea4c822e Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Thu, 20 Sep 2012 19:53:18 +0800 Subject: [PATCH] Fixed a compiling problem with MinGW64 --- src/xmlschemagenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 );