Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
This is a small bugfix for the rootnode-ending getting returned twice. Where read() returns true even when there's no more data left. CXMLReaderImpl.h - in parseCurrentNode() case L'/': parseClosingXMLElement(); break; fix: case L'/': parseClosingXMLElement(); // more forward until '<' found while(*P != L'<' && *P) ++P; break; This way data will always be drained. So that read() properly terminates after last node ending. /Legion |
||||
|
Thanks for posting :) |
|