| 67 | } |
| 68 | |
| 69 | int cmXMLParser::ParseChunk(char const* inputString, |
| 70 | std::string::size_type length) |
| 71 | { |
| 72 | if (!this->Parser) { |
| 73 | std::cerr << "Parser not initialized" << std::endl; |
| 74 | this->ParseError = 1; |
| 75 | return 0; |
| 76 | } |
| 77 | int res; |
| 78 | res = this->ParseBuffer(inputString, length); |
| 79 | if (res == 0) { |
| 80 | this->ParseError = 1; |
| 81 | } |
| 82 | return res; |
| 83 | } |
| 84 | |
| 85 | int cmXMLParser::CleanupParser() |
| 86 | { |