From 240910f78575a5536748c2485cae13904fcef955 Mon Sep 17 00:00:00 2001 From: Oliver-Rainer Wittmann Date: Wed, 27 Jun 2012 19:14:51 +0100 Subject: [PATCH] adjust xml2cmp tool to handle XML comments from: http://svn.apache.org/viewvc?view=revision&revision=1305252 --- xml2cmp/source/xcd/parse.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx index 72f565726a4c..fab09d926e36 100644 --- a/xml2cmp/source/xcd/parse.cxx +++ b/xml2cmp/source/xcd/parse.cxx @@ -82,6 +82,11 @@ X2CParser::Parse() Parse_XmlDeclaration(); Parse_Doctype(); + // skip XML comment + Goto('<'); + if ( IsText("