adjust xml2cmp tool to handle XML comments
from: http://svn.apache.org/viewvc?view=revision&revision=1305252
This commit is contained in:
parent
8ed5bf0fca
commit
240910f785
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ X2CParser::Parse()
|
|||
Parse_XmlDeclaration();
|
||||
Parse_Doctype();
|
||||
|
||||
// skip XML comment
|
||||
Goto('<');
|
||||
if ( IsText("<!--") )
|
||||
Goto_And_Pass('>');
|
||||
|
||||
pDocumentData->Parse(*this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue