and I am getting → after running
xmllint --sax XmlParser.C
SAX.setDocumentLocator()
SAX.startDocument()
SAX.error: Start tag expected, ‘<’ not found
SAX.endDocument()
All SAX handler methods accept an additional “user data” pointer which can be used for additional state (variables). In general, most applications will use a struct to carry around local state. This blog post explains a bit more: Using the SAX Interface of LibXML | James Henstridge
@flavorjones I have also declared staticStartElement / all static functions in different file, could you please explain a bit more what can be the potential issue? I have gone through the link you provided
Thanks ,I debugged it Now it started calling static function and startDocument,startElement too . But there is one more issue could please suggest on this
After creating the parserCtx using xmlCreatePushParserCtxt Like :-
In order to help you, we need more information. Please share your complete working code and the input; or else share the stack walkback or debugger frames from the crash.