adjust xml2cmp tool to handle XML comments

from: http://svn.apache.org/viewvc?view=revision&revision=1305252
This commit is contained in:
Oliver-Rainer Wittmann 2012-06-27 19:14:51 +01:00 committed by Michael Meeks
parent 8ed5bf0fca
commit 240910f785

View file

@ -82,6 +82,11 @@ X2CParser::Parse()
Parse_XmlDeclaration();
Parse_Doctype();
// skip XML comment
Goto('<');
if ( IsText("<!--") )
Goto_And_Pass('>');
pDocumentData->Parse(*this);
}