I have three content handler classes. I want to change between them. The first time I call m_pReader->putContentHandler everything is fine, but when I try to change handlers (calling m_pReader->putContentHandler again), it throws an exception. The XML documentation says:
What am I doing wrong?"An application can register a new or different handler while in the middle of parsing a document, and the reader will immediately start using the new handler."





Reply With Quote