[xsd-users] Custom DOMLSParser

Carlos Wong carloswong54 at gmail.com
Mon Jun 6 22:19:52 EDT 2022


Hi all,

I am using the embedded binary representation of the schema and trying to
create a custom DOMLSParser, so that I can overload the
DOMLSParserImpl::error method.

I want to do this so I can
access custom_dom_LS_parser_impl->getCurrentNode() and pass that into my
custom error handler for further processing.

But I can only either make the embedded binary representation work or my
customer error handler. I have run out of ideas, please any feedback and/or
suggestions would be greatly appreciated.

I have also linked a MWE:
https://github.com/clxyder/xsd-embedded-custom-parser.

Thank you,

Carlos


More information about the xsd-users mailing list