Fixed a compiling problem with MinGW64

This commit is contained in:
Zane U. Ji 2012-09-20 19:53:18 +08:00
parent 3187e3a4ce
commit 3387f756fa
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const wxString &XmlSchemaGenerator::generate ( Grammar::GrammarType grammarType,
return mSchema; return mSchema;
} }
DOMDocument *doc = parser->getDocument(); xercesc::DOMDocument *doc = parser->getDocument();
if ( doc == NULL ) if ( doc == NULL )
{ {
mLastError = _ ("Failed to load xml file."); mLastError = _ ("Failed to load xml file.");
@ -83,7 +83,7 @@ const wxString &XmlSchemaGenerator::generate ( Grammar::GrammarType grammarType,
mSchema << _T("<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\">") mSchema << _T("<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\">")
<< getEOL(); << getEOL();
DOMElement *root = doc->getDocumentElement(); xercesc::DOMElement *root = doc->getDocumentElement();
if ( root != NULL ) if ( root != NULL )
{ {
findAllElements ( *root ); findAllElements ( *root );