Commits

Author Commit Message Labels Comments Date
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
NS test updated
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Proper NS code in SAX parser, and tests updated too
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Lose warnings
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Fix up a warning
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: lib/XML/LibXML/SAX/Builder.pm removed warning
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: lib/XML/LibXML/NodeList.pm o to_literal() will cause no warnings with undefined string values! lib/XML/LibXML//SAX/Builder.pm o removed empty has reference from createDocument() i inserted by accident
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs + nodetypes and aliases (as suggested on perl-xml) now it is possible to test against the specified nodetype names, too. LibXML.pm - nodetype definitions + exports now nodetype aliases
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: Builder.pm + enabled start_document to set the document (external) encoding. this does not affect that all incoming data has to be UTF8. It just allows to have documents other than <?xml version="1.0" encoding="UTF8"?> + xml_decl() implemented Parser.pm + process_node() is now aware of DocumentFragments. they will be processed as Documents are processed. + generate() will not process any node but only documents. this is nessecary, because generate() uses Document specific functions.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + fixes a libxml2 oddity, that occours with parsing of balanced chunks: nested nodes will contain a reference to an internal, but no longer existing document. the newly created internal function fixes the wrong pointer to the correct ones.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: perl-libxml-mm.c o fixed Sv2C() so empty strings will cause no segfaults anymore
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm + XML::LibXML::DocumentFragment::toString() this function is a workaround that document fragments are node that are not rendered. The former version caused <>somechunk</> which does not only look wrong. this version will produce only somechunk without the empty tags around it
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Better debugging and output
(no ...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
This commit was manufactured by cvs2svn to create tag 'CPAN_1_40'.
(no ...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
This commit was manufactured by cvs2svn to create tag 'CPAN_1_40'.
Tags
CPAN_1_40
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c this is the correct commit, since i commited the wrong file :/ (check the last log message) for non conform encodings we still need some examples to test. but it should work :)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + added iconv encoding for non spec conform encodings in domEncodeString() and domDecodeString()
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm + two new functions: XML::LibXML::Text::replaceDataString($old, $new) replaces the first occurrence of $old with $new XML::LibXML::Text::replaceDataRE($lre,$rre, $all) will create "s/$lre/$rre/" unless $all or "s/$lre/$rre/g" otherwise and applies this to the current textnode's data.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: t/01basic.t - encoding tests Added Files: t/19encoding.t tests manual and magic string encoding.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs + croaks now if empty strings or streams are processed. perl-libxml-mm.c o fixes a gcc warning :) t/02parsestring.t + empty string tests
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
next step towards a better version of XML::LibXML :) this version is still leaking - but it seems to be less, than the last commit. i think this version could be released, just to show there is activity in XML::LibXML :b Modified Files: LibXML.xs - _fix_extra() (not required any more) - more redundand code (replaced it with function calls from perl-libxml-mm) LibXML.pm - _fix_extra() code from the parse functions perl-libxml-mm.…
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…
dar...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
fixed an *incredibly* important doc bug (wasn't really 100% WF XML ;)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: example/libxml.xml o added some infos about implicit document-fragments and unbindNode()
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Patch to not throw away "directory" option on parsed fh's
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Delete Attributes entry on end_element call
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Fixed attribute keys
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Updated changes
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Don't try and operate on found nodes if found == NULL
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Added IO::Handle Fixed bug in find() where no nodes found.
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Added PI and comment support
  1. Prev
  2. Next