parse.cxx (ab595ff6) parse.cxx (2afa04a6)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 78 unchanged lines hidden (view full) ---

87X2CParser::Parse()
88{
89 // Parse:
90 text = aFile.operator const char *();
91
92 Parse_XmlDeclaration();
93 Parse_Doctype();
94
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 78 unchanged lines hidden (view full) ---

87X2CParser::Parse()
88{
89 // Parse:
90 text = aFile.operator const char *();
91
92 Parse_XmlDeclaration();
93 Parse_Doctype();
94
95 // skip XML comment
96 Goto('<');
97 if ( IsText("<!--") )
98 Goto_And_Pass('>');
99
95 pDocumentData->Parse(*this);
96}
97
98bool
99X2CParser::Parse( const char * i_sFilename )
100{
101 bool ret = LoadFile(i_sFilename);
102 if (ret)

--- 346 unchanged lines hidden ---
100 pDocumentData->Parse(*this);
101}
102
103bool
104X2CParser::Parse( const char * i_sFilename )
105{
106 bool ret = LoadFile(i_sFilename);
107 if (ret)

--- 346 unchanged lines hidden ---