Source

perl-XML-LibXML / dom.h

Author Commit Message Labels Comments Date
Shlomi Fish
Got rid of a lot of trailing space. With a test. TODO: test for trailing space in more files.
Ville Skyttä
Spelling fixes.
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
- documented new parser option API - compilation fixes/cleanup
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
- fix bogus validation results if revalidating a modified document - added ABI compatibility checks
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
address #36296
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
better namespace reconciliation implemented by Tim Brody
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
- make error messages intended to the user report the line of the application call rather than that of the internal XS call - XML::LibXML::Attr->serializeContent added (convenience function) - fix getAttributeNode etc. w.r.t. #FIXED attributes (as well as some cases with old buggy libxml2 versions)
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
- bugfix: getElementsByNodeName should work with a default prefix too - improved setNamespaceDeclURI and setNamespaceDeclPrefix - skip threads test unless env THREAD_TEST is set - memory and threads tests give reason if skipped
pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
- DOM Level 3 method $attr->isId() added - make getAttribute/setAttribute/hasAttribute/getAttributeNode/...etc and work with full attribute names rather than just localnames. One test in 06elements.t had to be fixed. Although DOM Level 3 is not very clear about the behavior of these methods for attributes in a namespace, it certainly does not imply that getAttribute('foo') should return value of a bar:foo, which was the curr…
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
No variables called "char" please :-) Log: PR:
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs o name testing uses a more libxml2 style for UTF8 character handling (this one handles correct UTF8 chars) dom.c dom.h + domParseChar() parses an UTF8 character string and returns the UTF8 value and the character length. (see the header file)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c dom.h LibXML.xs LibXML.pm + added libxml dom recovering for the XML parsers. prepared dom.c to recover chunks, too. Changes version notes
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs perl-libxml-mm.h perl-libxml-mm.c dom.c dom.h moved all general functions and possibly shared functions into perl-libxml-mm.* . dom.* contains now only the really DOM specific functions.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
memory fix merge the mm_fix branch becomes obsolete Modified Files: Changes LibXML.pm LibXML.xs MANIFEST Makefile.PL dom.c dom.h perl-libxml-mm.c perl-libxml-mm.h typemap xpath.c example/article.xml example/article_bad.xml example/article_internal.xml example/article_internal_bad.xml example/bad.xml example/cb_example.pl example/dromeds.xml example/dtd.xml example/libxml.xml example/ns.xml example/test.xml example/test2.xml example/xml2pod.pl lib/X…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c dom.h + new: domGetNodeValue() returns the nodeValue of a node if available.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
ok, this is a mid release commit. i cleaned the code a lot. as a result the entire module should be more stable now and more easy to maintain. this version does not implement the memory management code, i still have in my mind. because everytime a node is retured a new scalar is created, this version leaks as hell (probably all earlier versions did as well). this will change with one of the next commits. one other thing left to do, is to make a switch for toString available, so a user may decide wether to recieve the string as UTF8 or as the DOM encoding. Modified Files: LibXML.xs + over all cleanup + recognize s…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs now frees unused strings allocated by the module (thanks to Andrew Kreiling who sent me a patch for some of the leaks) dom.c dom.h + updated the interface
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
LibXML.pm + XML::LibXML::DocumentFragment isa Node + improved iterator function + changed version number to 0.95 LibXML.xs + fixed some more memory leaks + introduced XML::LibXML::DocumentFragment Class + new Node::getOwner function + better array handling + DOM L2 conform naming aliases + fixed some entity encoding + make unbound nodes to be part of Document fragments, so they can get destroyed + more proxy fixes and securety checks + setAttributeNode works now PHI…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs LibXML.pm dom.h dom.c + document destruction memory leaks fixed (no segfaulting, no attenpts of freeing uninitialized scalars) + Element::getAttributes() added + Element::getAttributesNS(URI) added + Element::setAttributeNode() finished + dom.c/dom.h: domSetAttributeNode() added + some security fixes
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs LibXML.pm dom.c dom.h + garbage collection problems with documents fixed. + encoding bugs fixed (the DOM is definitly in UTF-8 now) + encodeToUTF8() + decodeFromUTF8()
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm LibXML.xs dom.c dom.h + extensive use of ProxyObjects (less segfaults) + Document is now a Node + Node::setName() (its not aware about namespaces, yet) + minor bugfixes example/libxml.xml + documentation updates t/06nodetypes.t + attrbibute tests
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + segfault fix in importNode + namespace related fixes + getAttributeNodeNS + domName( node ) is aware about namespaces now example/libxml.xml + documentation updates
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm + iterator function LibXML.xs dom.c dom.h + fixed namespace functions (originally by steve tinney) + XML::LibXML::Attr + new + getValue + setValue + getOwnerElement + createAttribute in XML::LibXML::Document + encoding in domSetNodeValue (e.g. in text nodes) example/libxml.xml + some docu for namespaces and attribute nodes t/06nodetypes.t + attribute tests t/08findno…
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Merge changes with phish's and correct his 2 space tabs (grr! :-)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + setOwnerDocument does not unbind anymore + importNode (imports a node from a different document) + it is not possible anymore to create circular DOMs + XML::LibXML::Document::getEncoding and ~::getVersion + isEqual function for XML::LibXML::Node and XML::LibXML::Document, so two node/ documents can get tested if they are equal on C level. + cor…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + insertBefore + insertAfter o XML::LibXML::Document::DESTROY segfault error removed todo: proxy objects for Documents example/libxml.xml + documentation t/05dombasic.t + segfault tests Added Files: t/09append.t tests insertBefore and insertAfter
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Initial revision