r77418 - in /trunk/libxml-libxml-perl: ./ debian/ docs/ lib/XML/LibXML/ lib/XML/LibXML/SAX/ t/
ghedo-guest at users.alioth.debian.org
ghedo-guest at users.alioth.debian.org
Wed Jul 13 08:47:43 UTC 2011
Author: ghedo-guest
Date: Wed Jul 13 08:47:41 2011
New Revision: 77418
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77418
Log:
New upstream release (Closes: #632293)
Modified:
trunk/libxml-libxml-perl/Changes
trunk/libxml-libxml-perl/LibXML.pm
trunk/libxml-libxml-perl/LibXML.pod
trunk/libxml-libxml-perl/LibXML.xs
trunk/libxml-libxml-perl/META.yml
trunk/libxml-libxml-perl/debian/changelog
trunk/libxml-libxml-perl/docs/libxml.dbk
trunk/libxml-libxml-perl/dom.c
trunk/libxml-libxml-perl/lib/XML/LibXML/Attr.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/CDATASection.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Comment.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Common.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/DOM.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Document.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/DocumentFragment.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Dtd.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Element.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/ErrNo.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Error.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/InputCallback.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Namespace.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Node.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/PI.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Parser.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Pattern.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Reader.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/RegExp.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/RelaxNG.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/SAX.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/SAX/Builder.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Schema.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/Text.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/XPathContext.pod
trunk/libxml-libxml-perl/lib/XML/LibXML/XPathExpression.pod
trunk/libxml-libxml-perl/perl-libxml-sax.c
trunk/libxml-libxml-perl/t/06elements.t
trunk/libxml-libxml-perl/t/09xpath.t
trunk/libxml-libxml-perl/t/19die_on_invalid_utf8_rt_58848.t
trunk/libxml-libxml-perl/t/60error_prev_chain.t
Modified: trunk/libxml-libxml-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/Changes?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/Changes (original)
+++ trunk/libxml-libxml-perl/Changes Wed Jul 13 08:47:41 2011
@@ -1,4 +1,22 @@
Revision history for Perl extension XML::LibXML
+
+1.80 Tue Jul 12 23:35:03 IDT 2011
+ - Fix https://rt.cpan.org/Public/Bug/Display.html?id=69082 :
+ - Compilation on strawberry perl.
+ - The problem was that stderr required a dTHX; call previously.
+ - DOM Normalisation patches and a fix for #69096
+ - Thanks to Daniel Frett.
+ - https://rt.cpan.org/Ticket/Display.html?id=69096
+ - "findvalue from XML::LibXML 1.74 is very slow (regression)"
+ - https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/5/normalize-bug-fixes
+ - Fix https://rt.cpan.org/Ticket/Display.html?id=69433 :
+ - "t/19die_on_invalid_utf8_rt_58848.t assumes errors will be objects:"
+ - Thanks to TODDR.
+ - Failed on older libxml2's.
+ - Add a skip for t/60error_prev_chain.t in case $@ is true but not a ref.
+ - https://rt.cpan.org/Ticket/Display.html?id=69435
+ - Thanks to TODDR.
+ - http://www.cpantesters.org/cpan/report/4ac00aae-a73f-11e0-84bd-8881cd42d09c
1.79 Fri Jul 8 20:02:32 IDT 2011
- t/46err_column.t : add a skip for a test for CentOS/RHEL 4:
Modified: trunk/libxml-libxml-perl/LibXML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/LibXML.pm?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/LibXML.pm (original)
+++ trunk/libxml-libxml-perl/LibXML.pm Wed Jul 13 08:47:41 2011
@@ -27,7 +27,7 @@
use IO::Handle; # for FH reads called as methods
BEGIN {
-$VERSION = "1.79"; # VERSION TEMPLATE: DO NOT CHANGE
+$VERSION = "1.80"; # VERSION TEMPLATE: DO NOT CHANGE
$ABI_VERSION = 2;
require Exporter;
require DynaLoader;
Modified: trunk/libxml-libxml-perl/LibXML.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/LibXML.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/LibXML.pod (original)
+++ trunk/libxml-libxml-perl/LibXML.pod Wed Jul 13 08:47:41 2011
@@ -505,7 +505,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/LibXML.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/LibXML.xs?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/LibXML.xs (original)
+++ trunk/libxml-libxml-perl/LibXML.xs Wed Jul 13 08:47:41 2011
@@ -4593,13 +4593,11 @@
RETVAL
-int
+void
normalize( self )
xmlNodePtr self
CODE:
- RETVAL = domNodeNormalize( self );
- OUTPUT:
- RETVAL
+ domNodeNormalize( self );
SV*
@@ -5238,13 +5236,6 @@
}
}
PPCODE:
- if ( node->doc ) {
- domNodeNormalize( xmlDocGetRootElement( node->doc ) );
- }
- else {
- domNodeNormalize( PmmOWNER(SvPROXYNODE(pnode)) );
- }
-
INIT_ERROR_HANDLER;
if (comp) {
found = domXPathCompFind( node, comp, to_bool );
@@ -5363,13 +5354,6 @@
}
}
PPCODE:
- if ( node->doc ) {
- domNodeNormalize( xmlDocGetRootElement(node->doc ) );
- }
- else {
- domNodeNormalize( PmmOWNER(SvPROXYNODE(pnode)) );
- }
-
INIT_ERROR_HANDLER;
if (comp) {
nodelist = domXPathCompSelect( node, comp );
@@ -7814,13 +7798,6 @@
}
}
PPCODE:
- if ( ctxt->node->doc ) {
- domNodeNormalize( xmlDocGetRootElement(ctxt->node->doc) );
- }
- else {
- domNodeNormalize( PmmOWNER(PmmNewNode(ctxt->node)) );
- }
-
INIT_ERROR_HANDLER;
PUTBACK ;
@@ -7925,13 +7902,6 @@
}
}
PPCODE:
- if ( ctxt->node->doc ) {
- domNodeNormalize( xmlDocGetRootElement( ctxt->node->doc ) );
- }
- else {
- domNodeNormalize( PmmOWNER(PmmNewNode(ctxt->node)) );
- }
-
INIT_ERROR_HANDLER;
PUTBACK ;
if (comp) {
Modified: trunk/libxml-libxml-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/META.yml?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/META.yml (original)
+++ trunk/libxml-libxml-perl/META.yml Wed Jul 13 08:47:41 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: XML-LibXML
-version: 1.79
+version: 1.80
abstract: Interface to Gnome libxml2 xml parsing and DOM library
author:
- Petr Pajas
Modified: trunk/libxml-libxml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/changelog?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/debian/changelog (original)
+++ trunk/libxml-libxml-perl/debian/changelog Wed Jul 13 08:47:41 2011
@@ -1,11 +1,8 @@
-libxml-libxml-perl (1.79+dfsg-1) UNRELEASED; urgency=low
-
- IGNORE_VERSION: 1.79+dfsg-1
- Fix tests for RHEL/CentOS 4 and old versions of libxml2
-
- * New upstream release
-
- -- Alessandro Ghedini <al3xbio at gmail.com> Mon, 11 Jul 2011 20:12:26 +0200
+libxml-libxml-perl (1.80+dfsg-1) UNRELEASED; urgency=low
+
+ * New upstream release (Closes: #632293)
+
+ -- Alessandro Ghedini <al3xbio at gmail.com> Wed, 13 Jul 2011 10:42:38 +0200
libxml-libxml-perl (1.78+dfsg-1) unstable; urgency=low
Modified: trunk/libxml-libxml-perl/docs/libxml.dbk
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/docs/libxml.dbk?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/docs/libxml.dbk (original)
+++ trunk/libxml-libxml-perl/docs/libxml.dbk Wed Jul 13 08:47:41 2011
@@ -22,7 +22,7 @@
</authorgroup>
- <edition>1.79</edition>
+ <edition>1.80</edition>
<copyright>
<year>2001-2007</year>
<holder>AxKit.com Ltd</holder>
Modified: trunk/libxml-libxml-perl/dom.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/dom.c?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/dom.c (original)
+++ trunk/libxml-libxml-perl/dom.c Wed Jul 13 08:47:41 2011
@@ -1261,6 +1261,7 @@
case XML_ELEMENT_NODE:
domNodeNormalizeList( (xmlNodePtr) node->properties );
case XML_ATTRIBUTE_NODE:
+ case XML_DOCUMENT_NODE:
return( domNodeNormalizeList( node->children ) );
break;
default:
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Attr.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Attr.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Attr.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Attr.pod Wed Jul 13 08:47:41 2011
@@ -121,7 +121,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/CDATASection.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/CDATASection.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/CDATASection.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/CDATASection.pod Wed Jul 13 08:47:41 2011
@@ -45,7 +45,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Comment.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Comment.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Comment.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Comment.pod Wed Jul 13 08:47:41 2011
@@ -46,7 +46,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Common.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Common.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Common.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Common.pod Wed Jul 13 08:47:41 2011
@@ -116,7 +116,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/DOM.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/DOM.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/DOM.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/DOM.pod Wed Jul 13 08:47:41 2011
@@ -129,7 +129,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Document.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Document.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Document.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Document.pod Wed Jul 13 08:47:41 2011
@@ -683,7 +683,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/DocumentFragment.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/DocumentFragment.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/DocumentFragment.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/DocumentFragment.pod Wed Jul 13 08:47:41 2011
@@ -27,7 +27,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Dtd.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Dtd.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Dtd.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Dtd.pod Wed Jul 13 08:47:41 2011
@@ -89,7 +89,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Element.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Element.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Element.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Element.pod Wed Jul 13 08:47:41 2011
@@ -371,7 +371,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/ErrNo.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/ErrNo.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/ErrNo.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/ErrNo.pod Wed Jul 13 08:47:41 2011
@@ -14,7 +14,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Error.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Error.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Error.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Error.pod Wed Jul 13 08:47:41 2011
@@ -241,7 +241,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/InputCallback.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/InputCallback.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/InputCallback.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/InputCallback.pod Wed Jul 13 08:47:41 2011
@@ -280,7 +280,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Namespace.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Namespace.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Namespace.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Namespace.pod Wed Jul 13 08:47:41 2011
@@ -130,7 +130,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Node.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Node.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Node.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Node.pod Wed Jul 13 08:47:41 2011
@@ -739,7 +739,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/PI.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/PI.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/PI.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/PI.pod Wed Jul 13 08:47:41 2011
@@ -74,7 +74,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Parser.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Parser.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Parser.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Parser.pod Wed Jul 13 08:47:41 2011
@@ -960,7 +960,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Pattern.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Pattern.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Pattern.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Pattern.pod Wed Jul 13 08:47:41 2011
@@ -94,7 +94,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Reader.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Reader.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Reader.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Reader.pod Wed Jul 13 08:47:41 2011
@@ -656,7 +656,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/RegExp.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/RegExp.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/RegExp.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/RegExp.pod Wed Jul 13 08:47:41 2011
@@ -58,7 +58,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/RelaxNG.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/RelaxNG.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/RelaxNG.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/RelaxNG.pod Wed Jul 13 08:47:41 2011
@@ -68,7 +68,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/SAX.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/SAX.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/SAX.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/SAX.pod Wed Jul 13 08:47:41 2011
@@ -47,7 +47,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/SAX/Builder.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/SAX/Builder.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/SAX/Builder.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/SAX/Builder.pod Wed Jul 13 08:47:41 2011
@@ -38,7 +38,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Schema.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Schema.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Schema.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Schema.pod Wed Jul 13 08:47:41 2011
@@ -65,7 +65,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/Text.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/Text.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/Text.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/Text.pod Wed Jul 13 08:47:41 2011
@@ -170,7 +170,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/XPathContext.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/XPathContext.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/XPathContext.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/XPathContext.pod Wed Jul 13 08:47:41 2011
@@ -359,7 +359,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/lib/XML/LibXML/XPathExpression.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/lib/XML/LibXML/XPathExpression.pod?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/lib/XML/LibXML/XPathExpression.pod (original)
+++ trunk/libxml-libxml-perl/lib/XML/LibXML/XPathExpression.pod Wed Jul 13 08:47:41 2011
@@ -52,7 +52,7 @@
=head1 VERSION
-1.79
+1.80
=head1 COPYRIGHT
Modified: trunk/libxml-libxml-perl/perl-libxml-sax.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/perl-libxml-sax.c?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/perl-libxml-sax.c (original)
+++ trunk/libxml-libxml-perl/perl-libxml-sax.c Wed Jul 13 08:47:41 2011
@@ -252,6 +252,14 @@
char *p = new;
int copied = 0;
struct CBufferChunk *cur;
+
+ /* We need this because stderr on some perls requires
+ * my_perl. See:
+ *
+ * https://rt.cpan.org/Public/Bug/Display.html?id=69082
+ *
+ * */
+ dTHX;
if (buffer->head->data == NULL) {
return NULL;
Modified: trunk/libxml-libxml-perl/t/06elements.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/t/06elements.t?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/t/06elements.t (original)
+++ trunk/libxml-libxml-perl/t/06elements.t Wed Jul 13 08:47:41 2011
@@ -7,7 +7,7 @@
use warnings;
# Should be 187.
-use Test::More tests => 187;
+use Test::More tests => 191;
use XML::LibXML;
@@ -280,7 +280,7 @@
}
# 4. Text Append and Normalization
-
+# 4.1 Normalization on an Element node
{
my $doc = XML::LibXML::Document->new();
my $t1 = $doc->createTextNode( "bar1" );
@@ -301,7 +301,41 @@
is( scalar( @cn ), 4, ' TODO : Add test name' );
$e->normalize;
-
+
+ @cn = $e->childNodes;
+ # TEST
+ is( scalar( @cn ), 2, ' TODO : Add test name' );
+
+ # TEST
+
+ ok(! defined $t2->parentNode, ' TODO : Add test name');
+ # TEST
+ ok(! defined $t3->parentNode, ' TODO : Add test name');
+}
+
+# 4.2 Normalization on a Document node
+{
+ my $doc = XML::LibXML::Document->new();
+ my $t1 = $doc->createTextNode( "bar1" );
+ my $t2 = $doc->createTextNode( "bar2" );
+ my $t3 = $doc->createTextNode( "bar3" );
+ my $e = $doc->createElement("foo");
+ my $e2 = $doc->createElement("bar");
+ $doc->setDocumentElement($e);
+ $e->appendChild( $e2 );
+ $e->appendChild( $t1 );
+ $e->appendChild( $t2 );
+ $e->appendChild( $t3 );
+
+ my @cn = $e->childNodes;
+
+ # this is the correct behaviour for DOM. the nodes are still
+ # refered
+ # TEST
+ is( scalar( @cn ), 4, ' TODO : Add test name' );
+
+ $doc->normalize;
+
@cn = $e->childNodes;
# TEST
is( scalar( @cn ), 2, ' TODO : Add test name' );
Modified: trunk/libxml-libxml-perl/t/09xpath.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/t/09xpath.t?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/t/09xpath.t (original)
+++ trunk/libxml-libxml-perl/t/09xpath.t Wed Jul 13 08:47:41 2011
@@ -2,7 +2,7 @@
use warnings;
# Should be 53
-use Test::More tests => 53;
+use Test::More tests => 54;
use XML::LibXML;
@@ -213,6 +213,26 @@
_utf16_content_test(\@nodes, 'p content is fine.');
}
+{
+ # from #69096
+ my $doc = XML::LibXML::Document->createDocument('1.0', 'utf-8');
+ my $root = $doc->createElement('root');
+ $doc->setDocumentElement($root);
+ my $e = $doc->createElement("child");
+ my $e2 = $doc->createElement("child");
+ my $t1 = $doc->createTextNode( "te" );
+ my $t2 = $doc->createTextNode( "st" );
+ $root->appendChild($e);
+ $root->appendChild($e2);
+ $e2->appendChild($t1);
+ $e2->appendChild($t2);
+
+ $doc->normalize();
+ my @cn = $doc->findnodes('//child[text()="test"]');
+ # TEST
+ is( scalar( @cn ), 1, 'xpath testing adjacent text nodes' );
+}
+
sub _utf16_content_test
{
local $Test::Builder::Level = $Test::Builder::Level + 1;
Modified: trunk/libxml-libxml-perl/t/19die_on_invalid_utf8_rt_58848.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/t/19die_on_invalid_utf8_rt_58848.t?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/t/19die_on_invalid_utf8_rt_58848.t (original)
+++ trunk/libxml-libxml-perl/t/19die_on_invalid_utf8_rt_58848.t Wed Jul 13 08:47:41 2011
@@ -4,7 +4,7 @@
use strict;
use warnings;
-use Test::More tests => 2;
+use Test::More tests => 1;
use XML::LibXML;
@@ -14,9 +14,6 @@
};
my $err = $@;
-
- # TEST
- isa_ok($err, 'XML::LibXML::Error', "Exception is XML::LibXML::Error");
# TEST
like ("$err", qr{parser error : Input is not proper UTF-8},
Modified: trunk/libxml-libxml-perl/t/60error_prev_chain.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/t/60error_prev_chain.t?rev=77418&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/t/60error_prev_chain.t (original)
+++ trunk/libxml-libxml-perl/t/60error_prev_chain.t Wed Jul 13 08:47:41 2011
@@ -10,7 +10,7 @@
no warnings 'recursion';
-use Test::More tests => 1;
+use Test::More;
use XML::LibXML;
@@ -27,6 +27,11 @@
my $err = $@;
my $count = 0;
+
+ if( $err && !ref($err) ) {
+ plan skip_all => 'The local libxml library does not support errors as objects to $@';
+ }
+ plan tests => 1;
while (defined($err) && $count < 200)
{
More information about the Pkg-perl-cvs-commits
mailing list