Source

perl-XML-LibXML / typemap

Author Commit Message Labels Comments Date
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…
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
xmlDocPtr is a PROXY_OBJECT
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Made ::Dtd a ::Node Added DTD parsing from a string (still a wee bit buggy though - see comments in code) Made DTD objects a ProxyObject
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Some namespaces code bug fixes
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Fixed a small memory leak Added support for Namespace nodes
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Re-implemented xmlNodePtr as a proxy object so that we can store the document in there and increment it's refcnt when we do setOwnerDocument and so forth. Fixed NoGCDocument typos
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Added NoGCDocument for return of getOwnerDocument Added type casts for fussy compilers
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Initial revision