Re: [xml] userdata for SAX parsing with schema validation

2022-01-03 Thread Nick Wellnhofer via xml
On 23/12/2021 20:14, Lara Blatchford wrote: Hi - I have a simple SAX handler set up, and schema validation errors are being caught by my structured error handler.  So far so good. It appears that the userdata argument to xmlSAXUserParseMemory /must/ be the xmlSchemaSAXPlugPtr returned by the c

[xml] userdata for SAX parsing with schema validation

2021-12-23 Thread Lara Blatchford
Hi - I have a simple SAX handler set up, and schema validation errors are being caught by my structured error handler. So far so good. It appears that the userdata argument to xmlSAXUserParseMemory must be the xmlSchemaSAXPlugPtr returned by the call to xmlSchemaSAXPlug, and that this pointer