Bugfix: flush buffer on startEntity/endEntity

This commit is contained in:
jez 2008-10-21 22:54:37 +01:00
parent 7f99fa0b1e
commit c4d237e97b

View file

@ -82,6 +82,19 @@ public:
XMLFilterT::comment(text);
} // comment
virtual void startEntity(const string_type& name)
{
flush();
XMLFilterT::startEntity(name);
} // startEntity
virtual void endEntity(const string_type& name)
{
flush();
XMLFilterT::endEntity(name);
} // endEntity
private:
void flush()
{