Source

perl-XML-LibXML / parser.c

Author Commit Message Labels Comments Date
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: parser.c + parser cleanup ready for libxml2 >= 2.4.7
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Some tweaks to make error handling faster Fix segfaults in LibXSLT, by restoring old entity handler
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
This is an incomplete checkin. The whole system compiles and runs, but a longtime runing is not guaranteed. This is because libxml2 does not (yet) implement reinitialization of callback, therefore the current this will fill the cb-stack with each parse. As well the interface changed slightly: Now the interface allows (currently more theoreticly) multiple parserinstances in a single process. Each parser may has its own set of callbacks. the multiple parser implementation has a perl and a c layer. the c-layer is implemented in parser.c. The libxml2 parser is now initialized each time, a file, string or handle is parsed. Therefor the parse_* functi…