| 822 | |
| 823 | |
| 824 | void ParserEngine::handleComment(void* userData, const XML_Char* data) |
| 825 | { |
| 826 | ParserEngine* pThis = reinterpret_cast<ParserEngine*>(userData); |
| 827 | |
| 828 | #if defined(XML_UNICODE_WCHAR_T) |
| 829 | if (pThis->_pLexicalHandler) |
| 830 | pThis->_pLexicalHandler->comment(data, 0, (int) std::wcslen(data)); |
| 831 | #else |
| 832 | if (pThis->_pLexicalHandler) |
| 833 | pThis->_pLexicalHandler->comment(data, 0, (int) std::strlen(data)); |
| 834 | #endif |
| 835 | } |
| 836 | |
| 837 | |
| 838 | void ParserEngine::handleStartCdataSection(void* userData) |