https://bugs.freedesktop.org/show_bug.cgi?id=84237

--- Comment #1 from Matúš Kukan <[email protected]> ---
Hmm, so I had a look and unoxml is wrapper around libxml2 library, not expat.
>From sax, it uses only FastAttributeList.

It should be easy to fix this, have a look at warning_func in
unoxml/source/dom/documentbuilder.cxx
It has pContext->_private = this
so one could do some casting magic and use m_xErrorHandler in warning_func /
error_func. Not sure if there is also fatalerror in xmlParserCtxt::sax - quite
possibly there is and could be added too.

OTOH if it's not used already, it does not make sense to add this only for a
unit test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to