Kaydet (Commit) 458ebc48 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

fix build breaker - adjust XML snippet processed by xml2cmp tool and adjust…

fix build breaker - adjust XML snippet processed by xml2cmp tool and adjust xml2cmp tool to handle XML comments
üst 8285c5be
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<!--*********************************************************** <!--***********************************************************
* *
* Licensed to the Apache Software Foundation (ASF) under one * Licensed to the Apache Software Foundation (ASF) under one
...@@ -19,9 +20,6 @@ ...@@ -19,9 +20,6 @@
* under the License. * under the License.
* *
***********************************************************--> ***********************************************************-->
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<module-description xmlns:xlink="http://www.w3.org/1999/xlink"> <module-description xmlns:xlink="http://www.w3.org/1999/xlink">
<module-name> acceptor.uno </module-name> <module-name> acceptor.uno </module-name>
<component-description> <component-description>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<!--*********************************************************** <!--***********************************************************
* *
* Licensed to the Apache Software Foundation (ASF) under one * Licensed to the Apache Software Foundation (ASF) under one
...@@ -19,9 +20,6 @@ ...@@ -19,9 +20,6 @@
* under the License. * under the License.
* *
***********************************************************--> ***********************************************************-->
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<module-description xmlns:xlink="http://www.w3.org/1999/xlink"> <module-description xmlns:xlink="http://www.w3.org/1999/xlink">
<module-name> connector.uno </module-name> <module-name> connector.uno </module-name>
<component-description> <component-description>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<!--*********************************************************** <!--***********************************************************
* *
* Licensed to the Apache Software Foundation (ASF) under one * Licensed to the Apache Software Foundation (ASF) under one
...@@ -19,9 +20,6 @@ ...@@ -19,9 +20,6 @@
* under the License. * under the License.
* *
***********************************************************--> ***********************************************************-->
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<module-description xmlns:xlink="http://www.w3.org/1999/xlink"> <module-description xmlns:xlink="http://www.w3.org/1999/xlink">
<module-name> streams.uno </module-name> <module-name> streams.uno </module-name>
......
...@@ -92,6 +92,11 @@ X2CParser::Parse() ...@@ -92,6 +92,11 @@ X2CParser::Parse()
Parse_XmlDeclaration(); Parse_XmlDeclaration();
Parse_Doctype(); Parse_Doctype();
// skip XML comment
Goto('<');
if ( IsText("<!--") )
Goto_And_Pass('>');
pDocumentData->Parse(*this); pDocumentData->Parse(*this);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment