------------------------------------------------------------------------------
| 376 | |
| 377 | //------------------------------------------------------------------------------ |
| 378 | int vtkXMLParser::ParseBuffer(const char* buffer, unsigned int count) |
| 379 | { |
| 380 | // Pass the buffer to the expat XML parser. |
| 381 | if (!XML_Parse(static_cast<XML_Parser>(this->Parser), buffer, count, 0)) |
| 382 | { |
| 383 | this->ReportXmlParseError(); |
| 384 | return 0; |
| 385 | } |
| 386 | return 1; |
| 387 | } |
| 388 | |
| 389 | //------------------------------------------------------------------------------ |
| 390 | int vtkXMLParser::ParseBuffer(const char* buffer) |
no test coverage detected