diff -Nru libxml-libxml-perl-2.0133+dfsg/Changes libxml-libxml-perl-2.0134+dfsg/Changes --- libxml-libxml-perl-2.0133+dfsg/Changes 2019-02-02 11:06:41.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/Changes 2019-02-10 14:55:08.000000000 +0000 @@ -1,5 +1,10 @@ Revision history for Perl extension XML::LibXML +2.0134 2019-02-10 + - Fix overzealous POD escaping in the docs' synposes + - https://github.com/shlomif/perl-XML-LibXML/issues/26 + - Thanks to @davorg. + 2.0133 2019-02-02 - Mark as working with libxml2 2.9.9 ( and below ). - Allow LibParser to be provided for all methods diff -Nru libxml-libxml-perl-2.0133+dfsg/debian/changelog libxml-libxml-perl-2.0134+dfsg/debian/changelog --- libxml-libxml-perl-2.0133+dfsg/debian/changelog 2019-02-05 18:06:55.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/debian/changelog 2019-02-13 18:28:10.000000000 +0000 @@ -1,3 +1,9 @@ +libxml-libxml-perl (2.0134+dfsg-1) unstable; urgency=medium + + * Import upstream version 2.0134+dfsg. + + -- gregor herrmann Wed, 13 Feb 2019 19:28:10 +0100 + libxml-libxml-perl (2.0133+dfsg-1) unstable; urgency=medium * Import upstream version 2.0133+dfsg. diff -Nru libxml-libxml-perl-2.0133+dfsg/docs/libxml.dbk libxml-libxml-perl-2.0134+dfsg/docs/libxml.dbk --- libxml-libxml-perl-2.0133+dfsg/docs/libxml.dbk 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/docs/libxml.dbk 2019-02-10 14:56:00.000000000 +0000 @@ -22,7 +22,7 @@ - 2.0133 + 2.0134 2001-2007 AxKit.com Ltd diff -Nru libxml-libxml-perl-2.0133+dfsg/example/xmllibxmldocs.pl libxml-libxml-perl-2.0134+dfsg/example/xmllibxmldocs.pl --- libxml-libxml-perl-2.0133+dfsg/example/xmllibxmldocs.pl 2019-02-02 10:47:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/example/xmllibxmldocs.pl 2019-02-10 14:24:34.000000000 +0000 @@ -474,7 +474,6 @@ elsif( $node->nodeName() eq "funcsynopsisinfo" ) { my $str = $node->string_value() ; $str =~ s/\n/\n /g; - $str = pod_escape($str); $self->{OFILE}->print( " $str\n" ); } elsif( $node->nodeName() eq "title" or $node->nodeName() eq "titleabbrev" diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/AttributeHash.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/AttributeHash.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/AttributeHash.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/AttributeHash.pm 2019-02-10 14:52:09.000000000 +0000 @@ -7,7 +7,7 @@ our @ISA = qw/Tie::Hash/; use vars qw($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE BEGIN { diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Attr.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Attr.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Attr.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Attr.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,14 +10,14 @@ # Only methods specific to Attribute nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $attr = XML::LibXML::Attr-Enew($name [,$value]); - $string = $attr-EgetValue(); - $string = $attr-Evalue; - $attr-EsetValue( $string ); - $node = $attr-EgetOwnerElement(); - $attr-EsetNamespace($nsURI, $prefix); - $bool = $attr-EisId; - $string = $attr-EserializeContent; + $attr = XML::LibXML::Attr->new($name [,$value]); + $string = $attr->getValue(); + $string = $attr->value; + $attr->setValue( $string ); + $node = $attr->getOwnerElement(); + $attr->setNamespace($nsURI, $prefix); + $bool = $attr->isId; + $string = $attr->serializeContent; =head1 DESCRIPTION @@ -35,14 +35,14 @@ =item new - $attr = XML::LibXML::Attr-Enew($name [,$value]); + $attr = XML::LibXML::Attr->new($name [,$value]); Class constructor. If you need to work with ISO encoded strings, you should I<<<<<< always >>>>>> use the C<<<<<< createAttribute >>>>>> of L<<<<<< XML::LibXML::Document >>>>>>. =item getValue - $string = $attr-EgetValue(); + $string = $attr->getValue(); Returns the value stored for the attribute. If undef is returned, the attribute has no value, which is different of being C<<<<<< not specified >>>>>>. @@ -50,14 +50,14 @@ =item value - $string = $attr-Evalue; + $string = $attr->value; Alias for I<<<<<< getValue() >>>>>> =item setValue - $attr-EsetValue( $string ); + $attr->setValue( $string ); This is needed to set a new attribute value. If ISO encoded strings are passed as parameter, the node has to be bound to a document, otherwise the encoding @@ -66,7 +66,7 @@ =item getOwnerElement - $node = $attr-EgetOwnerElement(); + $node = $attr->getOwnerElement(); returns the node the attribute belongs to. If the attribute is not bound to a node, undef will be returned. Overwriting the underlying implementation, the I<<<<<< parentNode >>>>>> function will return undef, instead of the owner element. @@ -74,7 +74,7 @@ =item setNamespace - $attr-EsetNamespace($nsURI, $prefix); + $attr->setNamespace($nsURI, $prefix); This function tries to bound the attribute to a given namespace. If C<<<<<< $nsURI >>>>>> is undefined or empty, the function discards any previous association of the attribute with a namespace. If the namespace was not previously declared in the @@ -89,7 +89,7 @@ =item isId - $bool = $attr-EisId; + $bool = $attr->isId; Determine whether an attribute is of type ID. For documents with a DTD, this information is only available if DTD loading/validation has been requested. For @@ -99,7 +99,7 @@ =item serializeContent($docencoding) - $string = $attr-EserializeContent; + $string = $attr->serializeContent; This function is not part of DOM API. It returns attribute content in the form in which it serializes into XML, that is with all meta-characters properly @@ -121,7 +121,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Boolean.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Boolean.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Boolean.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Boolean.pm 2019-02-10 14:52:09.000000000 +0000 @@ -16,7 +16,7 @@ use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/CDATASection.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/CDATASection.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/CDATASection.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/CDATASection.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,7 +10,7 @@ # Only methods specific to CDATA nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $node = XML::LibXML::CDATASection-Enew( $content ); + $node = XML::LibXML::CDATASection->new( $content ); =head1 DESCRIPTION @@ -27,7 +27,7 @@ =item new - $node = XML::LibXML::CDATASection-Enew( $content ); + $node = XML::LibXML::CDATASection->new( $content ); The constructor is the only provided function for this package. It is required, because I<<<<<< libxml2 >>>>>> treats the different text node types slightly differently. @@ -45,7 +45,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Comment.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Comment.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Comment.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Comment.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,7 +10,7 @@ # Only methods specific to Comment nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $node = XML::LibXML::Comment-Enew( $content ); + $node = XML::LibXML::Comment->new( $content ); =head1 DESCRIPTION @@ -28,7 +28,7 @@ =item new - $node = XML::LibXML::Comment-Enew( $content ); + $node = XML::LibXML::Comment->new( $content ); The constructor is the only provided function for this package. It is required, because I<<<<<< libxml2 >>>>>> treats text nodes and comment nodes slightly differently. @@ -46,7 +46,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Common.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Common.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Common.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Common.pm 2019-02-10 14:52:09.000000000 +0000 @@ -24,7 +24,7 @@ @ISA = qw(Exporter); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use XML::LibXML qw(:libxml); diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Common.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Common.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Common.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Common.pod 2019-02-10 14:56:01.000000000 +0000 @@ -116,7 +116,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Devel.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Devel.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Devel.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Devel.pm 2019-02-10 14:52:09.000000000 +0000 @@ -12,7 +12,7 @@ use XML::LibXML; use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use 5.008_000; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/DocumentFragment.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/DocumentFragment.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/DocumentFragment.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/DocumentFragment.pod 2019-02-10 14:56:01.000000000 +0000 @@ -27,7 +27,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Document.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Document.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Document.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Document.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,55 +10,55 @@ # Only methods specific to Document nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $dom = XML::LibXML::Document-Enew( $version, $encoding ); - $dom = XML::LibXML::Document-EcreateDocument( $version, $encoding ); - $strURI = $doc-EURI(); - $doc-EsetURI($strURI); - $strEncoding = $doc-Eencoding(); - $strEncoding = $doc-EactualEncoding(); - $doc-EsetEncoding($new_encoding); - $strVersion = $doc-Eversion(); - $doc-Estandalone - $doc-EsetStandalone($numvalue); - my $compression = $doc-Ecompression; - $doc-EsetCompression($ziplevel); - $docstring = $dom-EtoString($format); - $c14nstr = $doc-EtoStringC14N($comment_flag, $xpath [, $xpath_context ]); - $ec14nstr = $doc-EtoStringEC14N($comment_flag, $xpath [, $xpath_context ], $inclusive_prefix_list); - $str = $doc-Eserialize($format); - $state = $doc-EtoFile($filename, $format); - $state = $doc-EtoFH($fh, $format); - $str = $document-EtoStringHTML(); - $str = $document-Eserialize_html(); - $bool = $dom-Eis_valid(); - $dom-Evalidate(); - $root = $dom-EdocumentElement(); - $dom-EsetDocumentElement( $root ); - $element = $dom-EcreateElement( $nodename ); - $element = $dom-EcreateElementNS( $namespaceURI, $nodename ); - $text = $dom-EcreateTextNode( $content_text ); - $comment = $dom-EcreateComment( $comment_text ); - $attrnode = $doc-EcreateAttribute($name [,$value]); - $attrnode = $doc-EcreateAttributeNS( namespaceURI, $name [,$value] ); - $fragment = $doc-EcreateDocumentFragment(); - $cdata = $dom-EcreateCDATASection( $cdata_content ); - my $pi = $doc-EcreateProcessingInstruction( $target, $data ); - my $entref = $doc-EcreateEntityReference($refname); - $dtd = $document-EcreateInternalSubset( $rootnode, $public, $system); - $dtd = $document-EcreateExternalSubset( $rootnode_name, $publicId, $systemId); - $document-EimportNode( $node ); - $document-EadoptNode( $node ); - my $dtd = $doc-EexternalSubset; - my $dtd = $doc-EinternalSubset; - $doc-EsetExternalSubset($dtd); - $doc-EsetInternalSubset($dtd); - my $dtd = $doc-EremoveExternalSubset(); - my $dtd = $doc-EremoveInternalSubset(); - my @nodelist = $doc-EgetElementsByTagName($tagname); - my @nodelist = $doc-EgetElementsByTagNameNS($nsURI,$tagname); - my @nodelist = $doc-EgetElementsByLocalName($localname); - my $node = $doc-EgetElementById($id); - $dom-EindexElements(); + $dom = XML::LibXML::Document->new( $version, $encoding ); + $dom = XML::LibXML::Document->createDocument( $version, $encoding ); + $strURI = $doc->URI(); + $doc->setURI($strURI); + $strEncoding = $doc->encoding(); + $strEncoding = $doc->actualEncoding(); + $doc->setEncoding($new_encoding); + $strVersion = $doc->version(); + $doc->standalone + $doc->setStandalone($numvalue); + my $compression = $doc->compression; + $doc->setCompression($ziplevel); + $docstring = $dom->toString($format); + $c14nstr = $doc->toStringC14N($comment_flag, $xpath [, $xpath_context ]); + $ec14nstr = $doc->toStringEC14N($comment_flag, $xpath [, $xpath_context ], $inclusive_prefix_list); + $str = $doc->serialize($format); + $state = $doc->toFile($filename, $format); + $state = $doc->toFH($fh, $format); + $str = $document->toStringHTML(); + $str = $document->serialize_html(); + $bool = $dom->is_valid(); + $dom->validate(); + $root = $dom->documentElement(); + $dom->setDocumentElement( $root ); + $element = $dom->createElement( $nodename ); + $element = $dom->createElementNS( $namespaceURI, $nodename ); + $text = $dom->createTextNode( $content_text ); + $comment = $dom->createComment( $comment_text ); + $attrnode = $doc->createAttribute($name [,$value]); + $attrnode = $doc->createAttributeNS( namespaceURI, $name [,$value] ); + $fragment = $doc->createDocumentFragment(); + $cdata = $dom->createCDATASection( $cdata_content ); + my $pi = $doc->createProcessingInstruction( $target, $data ); + my $entref = $doc->createEntityReference($refname); + $dtd = $document->createInternalSubset( $rootnode, $public, $system); + $dtd = $document->createExternalSubset( $rootnode_name, $publicId, $systemId); + $document->importNode( $node ); + $document->adoptNode( $node ); + my $dtd = $doc->externalSubset; + my $dtd = $doc->internalSubset; + $doc->setExternalSubset($dtd); + $doc->setInternalSubset($dtd); + my $dtd = $doc->removeExternalSubset(); + my $dtd = $doc->removeInternalSubset(); + my @nodelist = $doc->getElementsByTagName($tagname); + my @nodelist = $doc->getElementsByTagNameNS($nsURI,$tagname); + my @nodelist = $doc->getElementsByLocalName($localname); + my $node = $doc->getElementById($id); + $dom->indexElements(); =head1 DESCRIPTION @@ -88,14 +88,14 @@ =item new - $dom = XML::LibXML::Document-Enew( $version, $encoding ); + $dom = XML::LibXML::Document->new( $version, $encoding ); alias for createDocument() =item createDocument - $dom = XML::LibXML::Document-EcreateDocument( $version, $encoding ); + $dom = XML::LibXML::Document->createDocument( $version, $encoding ); The constructor for the document class. As Parameter it takes the version string and (optionally) the encoding string. Simply calling I<<<<<< createDocument >>>>>>() will create the document: @@ -130,7 +130,7 @@ =item URI - $strURI = $doc-EURI(); + $strURI = $doc->URI(); Returns the URI (or filename) of the original document. For documents obtained by parsing a string of a FH without using the URI parsing argument of the @@ -142,7 +142,7 @@ =item setURI - $doc-EsetURI($strURI); + $doc->setURI($strURI); Sets the URI of the document reported by the method URI (see also the URI argument to the various C<<<<<< parse_* >>>>>> functions). @@ -150,7 +150,7 @@ =item encoding - $strEncoding = $doc-Eencoding(); + $strEncoding = $doc->encoding(); returns the encoding string of the document. @@ -162,7 +162,7 @@ =item actualEncoding - $strEncoding = $doc-EactualEncoding(); + $strEncoding = $doc->actualEncoding(); returns the encoding in which the XML will be returned by $doc->toString(). This is usually the original encoding of the document as declared in the XML @@ -178,7 +178,7 @@ =item setEncoding - $doc-EsetEncoding($new_encoding); + $doc->setEncoding($new_encoding); This method allows one to change the declaration of encoding in the XML declaration of the document. The value also affects the encoding in which the @@ -188,7 +188,7 @@ =item version - $strVersion = $doc-Eversion(); + $strVersion = $doc->version(); returns the version string of the document @@ -197,7 +197,7 @@ =item standalone - $doc-Estandalone + $doc->standalone This function returns the Numerical value of a documents XML declarations standalone attribute. It returns I<<<<<< 1 >>>>>> if standalone="yes" was found, I<<<<<< 0 >>>>>> if standalone="no" was found and I<<<<<< -1 >>>>>> if standalone was not specified (default on creation). @@ -205,7 +205,7 @@ =item setStandalone - $doc-EsetStandalone($numvalue); + $doc->setStandalone($numvalue); Through this method it is possible to alter the value of a documents standalone attribute. Set it to I<<<<<< 1 >>>>>> to set standalone="yes", to I<<<<<< 0 >>>>>> to set standalone="no" or set it to I<<<<<< -1 >>>>>> to remove the standalone attribute from the XML declaration. @@ -213,7 +213,7 @@ =item compression - my $compression = $doc-Ecompression; + my $compression = $doc->compression; libxml2 allows reading of documents directly from gzipped files. In this case the compression variable is set to the compression level of that file (0-8). If @@ -223,7 +223,7 @@ =item setCompression - $doc-EsetCompression($ziplevel); + $doc->setCompression($ziplevel); If one intends to write the document directly to a file, it is possible to set the compression level for a given document. This level can be in the range from @@ -234,7 +234,7 @@ =item toString - $docstring = $dom-EtoString($format); + $docstring = $dom->toString($format); I<<<<<< toString >>>>>> is a DOM serializing function, so the DOM Tree is serialized into an XML string, ready for output. @@ -268,21 +268,21 @@ =item toStringC14N - $c14nstr = $doc-EtoStringC14N($comment_flag, $xpath [, $xpath_context ]); + $c14nstr = $doc->toStringC14N($comment_flag, $xpath [, $xpath_context ]); See the documentation in L<<<<<< XML::LibXML::Node >>>>>>. =item toStringEC14N - $ec14nstr = $doc-EtoStringEC14N($comment_flag, $xpath [, $xpath_context ], $inclusive_prefix_list); + $ec14nstr = $doc->toStringEC14N($comment_flag, $xpath [, $xpath_context ], $inclusive_prefix_list); See the documentation in L<<<<<< XML::LibXML::Node >>>>>>. =item serialize - $str = $doc-Eserialize($format); + $str = $doc->serialize($format); An alias for toString(). This function was name added to be more consistent with libxml2. @@ -300,7 +300,7 @@ =item toFile - $state = $doc-EtoFile($filename, $format); + $state = $doc->toFile($filename, $format); This function is similar to toString(), but it writes the document directly into a filesystem. This function is very useful, if one needs to store large @@ -311,7 +311,7 @@ =item toFH - $state = $doc-EtoFH($fh, $format); + $state = $doc->toFH($fh, $format); This function is similar to toString(), but it writes the document directly to a filehandle or a stream. A byte stream in the document encoding is passed to @@ -322,7 +322,7 @@ =item toStringHTML - $str = $document-EtoStringHTML(); + $str = $document->toStringHTML(); I<<<<<< toStringHTML >>>>>> serialize the tree to a byte string in the document encoding as HTML. With this method indenting is automatic and managed by libxml2 internally. @@ -330,14 +330,14 @@ =item serialize_html - $str = $document-Eserialize_html(); + $str = $document->serialize_html(); An alias for toStringHTML(). =item is_valid - $bool = $dom-Eis_valid(); + $bool = $dom->is_valid(); Returns either TRUE or FALSE depending on whether the DOM Tree is a valid Document or not. @@ -353,7 +353,7 @@ =item validate - $dom-Evalidate(); + $dom->validate(); This is an exception throwing equivalent of is_valid. If the document is not valid it will throw an exception containing the error. This allows you much @@ -364,7 +364,7 @@ =item documentElement - $root = $dom-EdocumentElement(); + $root = $dom->documentElement(); Returns the root element of the Document. A document can have just one root element to contain the documents data. @@ -374,7 +374,7 @@ =item setDocumentElement - $dom-EsetDocumentElement( $root ); + $dom->setDocumentElement( $root ); This function enables you to set the root element for a document. The function supports the import of a node from a different document tree, but does not @@ -383,56 +383,56 @@ =item createElement - $element = $dom-EcreateElement( $nodename ); + $element = $dom->createElement( $nodename ); This function creates a new Element Node bound to the DOM with the name C<<<<<< $nodename >>>>>>. =item createElementNS - $element = $dom-EcreateElementNS( $namespaceURI, $nodename ); + $element = $dom->createElementNS( $namespaceURI, $nodename ); This function creates a new Element Node bound to the DOM with the name C<<<<<< $nodename >>>>>> and placed in the given namespace. =item createTextNode - $text = $dom-EcreateTextNode( $content_text ); + $text = $dom->createTextNode( $content_text ); As an equivalent of I<<<<<< createElement >>>>>>, but it creates a I<<<<<< Text Node >>>>>> bound to the DOM. =item createComment - $comment = $dom-EcreateComment( $comment_text ); + $comment = $dom->createComment( $comment_text ); As an equivalent of I<<<<<< createElement >>>>>>, but it creates a I<<<<<< Comment Node >>>>>> bound to the DOM. =item createAttribute - $attrnode = $doc-EcreateAttribute($name [,$value]); + $attrnode = $doc->createAttribute($name [,$value]); Creates a new Attribute node. =item createAttributeNS - $attrnode = $doc-EcreateAttributeNS( namespaceURI, $name [,$value] ); + $attrnode = $doc->createAttributeNS( namespaceURI, $name [,$value] ); Creates an Attribute bound to a namespace. =item createDocumentFragment - $fragment = $doc-EcreateDocumentFragment(); + $fragment = $doc->createDocumentFragment(); This function creates a DocumentFragment. =item createCDATASection - $cdata = $dom-EcreateCDATASection( $cdata_content ); + $cdata = $dom->createCDATASection( $cdata_content ); Similar to createTextNode and createComment, this function creates a CDataSection bound to the current DOM. @@ -440,7 +440,7 @@ =item createProcessingInstruction - my $pi = $doc-EcreateProcessingInstruction( $target, $data ); + my $pi = $doc->createProcessingInstruction( $target, $data ); create a processing instruction node. @@ -449,7 +449,7 @@ =item createEntityReference - my $entref = $doc-EcreateEntityReference($refname); + my $entref = $doc->createEntityReference($refname); If a document has a DTD specified, one can create entity references by using this function. If one wants to add a entity reference to the document, this @@ -470,7 +470,7 @@ =item createInternalSubset - $dtd = $document-EcreateInternalSubset( $rootnode, $public, $system); + $dtd = $document->createInternalSubset( $rootnode, $public, $system); This function creates and adds an internal subset to the given document. Because the function automatically adds the DTD to the document there is no @@ -506,7 +506,7 @@ =item createExternalSubset - $dtd = $document-EcreateExternalSubset( $rootnode_name, $publicId, $systemId); + $dtd = $document->createExternalSubset( $rootnode_name, $publicId, $systemId); This function is similar to C<<<<<< createInternalSubset() >>>>>> but this DTD is considered to be external and is therefore not added to the document itself. Nevertheless it can be used for validation purposes. @@ -514,7 +514,7 @@ =item importNode - $document-EimportNode( $node ); + $document->importNode( $node ); If a node is not part of a document, it can be imported to another document. As specified in DOM Level 2 Specification the Node will not be altered or removed @@ -528,7 +528,7 @@ =item adoptNode - $document-EadoptNode( $node ); + $document->adoptNode( $node ); If a node is not part of a document, it can be imported to another document. As specified in DOM Level 3 Specification the Node will not be altered but it will @@ -546,7 +546,7 @@ =item externalSubset - my $dtd = $doc-EexternalSubset; + my $dtd = $doc->externalSubset; If a document has an external subset defined it will be returned by this function. @@ -558,7 +558,7 @@ =item internalSubset - my $dtd = $doc-EinternalSubset; + my $dtd = $doc->internalSubset; If a document has an internal subset defined it will be returned by this function. @@ -570,7 +570,7 @@ =item setExternalSubset - $doc-EsetExternalSubset($dtd); + $doc->setExternalSubset($dtd); I<<<<<< EXPERIMENTAL! >>>>>> @@ -579,7 +579,7 @@ =item setInternalSubset - $doc-EsetInternalSubset($dtd); + $doc->setInternalSubset($dtd); I<<<<<< EXPERIMENTAL! >>>>>> @@ -588,7 +588,7 @@ =item removeExternalSubset - my $dtd = $doc-EremoveExternalSubset(); + my $dtd = $doc->removeExternalSubset(); I<<<<<< EXPERIMENTAL! >>>>>> @@ -598,7 +598,7 @@ =item removeInternalSubset - my $dtd = $doc-EremoveInternalSubset(); + my $dtd = $doc->removeInternalSubset(); I<<<<<< EXPERIMENTAL! >>>>>> @@ -608,7 +608,7 @@ =item getElementsByTagName - my @nodelist = $doc-EgetElementsByTagName($tagname); + my @nodelist = $doc->getElementsByTagName($tagname); Implements the DOM Level 2 function @@ -617,7 +617,7 @@ =item getElementsByTagNameNS - my @nodelist = $doc-EgetElementsByTagNameNS($nsURI,$tagname); + my @nodelist = $doc->getElementsByTagNameNS($nsURI,$tagname); Implements the DOM Level 2 function @@ -626,7 +626,7 @@ =item getElementsByLocalName - my @nodelist = $doc-EgetElementsByLocalName($localname); + my @nodelist = $doc->getElementsByLocalName($localname); This allows the fetching of all nodes from a given document with the given Localname. @@ -636,7 +636,7 @@ =item getElementById - my $node = $doc-EgetElementById($id); + my $node = $doc->getElementById($id); Returns the element that has an ID attribute with the given value. If no such element exists, this returns undef. @@ -655,7 +655,7 @@ =item indexElements - $dom-EindexElements(); + $dom->indexElements(); This function causes libxml2 to stamp all elements in a document with their document position index which considerably speeds up XPath queries for large @@ -683,7 +683,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/DOM.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/DOM.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/DOM.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/DOM.pod 2019-02-10 14:56:01.000000000 +0000 @@ -129,7 +129,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Dtd.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Dtd.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Dtd.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Dtd.pod 2019-02-10 14:56:01.000000000 +0000 @@ -8,11 +8,11 @@ use XML::LibXML; - $dtd = XML::LibXML::Dtd-Enew($public_id, $system_id); - $dtd = XML::LibXML::Dtd-Eparse_string($dtd_str); - $publicId = $dtd-EgetName(); - $publicId = $dtd-EpublicId(); - $systemId = $dtd-EsystemId(); + $dtd = XML::LibXML::Dtd->new($public_id, $system_id); + $dtd = XML::LibXML::Dtd->parse_string($dtd_str); + $publicId = $dtd->getName(); + $publicId = $dtd->publicId(); + $systemId = $dtd->systemId(); =head1 DESCRIPTION @@ -31,7 +31,7 @@ =item new - $dtd = XML::LibXML::Dtd-Enew($public_id, $system_id); + $dtd = XML::LibXML::Dtd->new($public_id, $system_id); Parse a DTD from the system identifier, and return a DTD object that you can pass to $doc->is_valid() or $doc->validate(). @@ -48,7 +48,7 @@ =item parse_string - $dtd = XML::LibXML::Dtd-Eparse_string($dtd_str); + $dtd = XML::LibXML::Dtd->parse_string($dtd_str); The same as new() above, except you can parse a DTD from a string. Note that parsing from string may fail if the DTD contains external parametric-entity @@ -57,7 +57,7 @@ =item getName - $publicId = $dtd-EgetName(); + $publicId = $dtd->getName(); Returns the name of DTD; i.e., the name immediately following the DOCTYPE keyword. @@ -65,14 +65,14 @@ =item publicId - $publicId = $dtd-EpublicId(); + $publicId = $dtd->publicId(); Returns the public identifier of the external subset. =item systemId - $systemId = $dtd-EsystemId(); + $systemId = $dtd->systemId(); Returns the system identifier of the external subset. @@ -89,7 +89,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Element.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Element.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Element.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Element.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,30 +10,30 @@ # Only methods specific to Element nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $node = XML::LibXML::Element-Enew( $name ); - $node-EsetAttribute( $aname, $avalue ); - $node-EsetAttributeNS( $nsURI, $aname, $avalue ); - $avalue = $node-EgetAttribute( $aname ); - $avalue = $node-EgetAttributeNS( $nsURI, $aname ); - $attrnode = $node-EgetAttributeNode( $aname ); - $attrnode = $node-EgetAttributeNodeNS( $namespaceURI, $aname ); - $node-EremoveAttribute( $aname ); - $node-EremoveAttributeNS( $nsURI, $aname ); - $boolean = $node-EhasAttribute( $aname ); - $boolean = $node-EhasAttributeNS( $nsURI, $aname ); - @nodes = $node-EgetChildrenByTagName($tagname); - @nodes = $node-EgetChildrenByTagNameNS($nsURI,$tagname); - @nodes = $node-EgetChildrenByLocalName($localname); - @nodes = $node-EgetElementsByTagName($tagname); - @nodes = $node-EgetElementsByTagNameNS($nsURI,$localname); - @nodes = $node-EgetElementsByLocalName($localname); - $node-EappendWellBalancedChunk( $chunk ); - $node-EappendText( $PCDATA ); - $node-EappendTextNode( $PCDATA ); - $node-EappendTextChild( $childname , $PCDATA ); - $node-EsetNamespace( $nsURI , $nsPrefix, $activate ); - $node-EsetNamespaceDeclURI( $nsPrefix, $newURI ); - $node-EsetNamespaceDeclPrefix( $oldPrefix, $newPrefix ); + $node = XML::LibXML::Element->new( $name ); + $node->setAttribute( $aname, $avalue ); + $node->setAttributeNS( $nsURI, $aname, $avalue ); + $avalue = $node->getAttribute( $aname ); + $avalue = $node->getAttributeNS( $nsURI, $aname ); + $attrnode = $node->getAttributeNode( $aname ); + $attrnode = $node->getAttributeNodeNS( $namespaceURI, $aname ); + $node->removeAttribute( $aname ); + $node->removeAttributeNS( $nsURI, $aname ); + $boolean = $node->hasAttribute( $aname ); + $boolean = $node->hasAttributeNS( $nsURI, $aname ); + @nodes = $node->getChildrenByTagName($tagname); + @nodes = $node->getChildrenByTagNameNS($nsURI,$tagname); + @nodes = $node->getChildrenByLocalName($localname); + @nodes = $node->getElementsByTagName($tagname); + @nodes = $node->getElementsByTagNameNS($nsURI,$localname); + @nodes = $node->getElementsByLocalName($localname); + $node->appendWellBalancedChunk( $chunk ); + $node->appendText( $PCDATA ); + $node->appendTextNode( $PCDATA ); + $node->appendTextChild( $childname , $PCDATA ); + $node->setNamespace( $nsURI , $nsPrefix, $activate ); + $node->setNamespaceDeclURI( $nsPrefix, $newURI ); + $node->setNamespaceDeclPrefix( $oldPrefix, $newPrefix ); =head1 METHODS @@ -45,21 +45,21 @@ =item new - $node = XML::LibXML::Element-Enew( $name ); + $node = XML::LibXML::Element->new( $name ); This function creates a new node unbound to any DOM. =item setAttribute - $node-EsetAttribute( $aname, $avalue ); + $node->setAttribute( $aname, $avalue ); This method sets or replaces the node's attribute C<<<<<< $aname >>>>>> to the value C<<<<<< $avalue >>>>>> =item setAttributeNS - $node-EsetAttributeNS( $nsURI, $aname, $avalue ); + $node->setAttributeNS( $nsURI, $aname, $avalue ); Namespace-aware version of C<<<<<< setAttribute >>>>>>, where C<<<<<< $nsURI >>>>>> is a namespace URI, C<<<<<< $aname >>>>>> is a qualified name, and C<<<<<< $avalue >>>>>> is the value. The namespace URI may be null (empty or undefined) in order to create an attribute which has no namespace. @@ -87,28 +87,28 @@ =item getAttribute - $avalue = $node-EgetAttribute( $aname ); + $avalue = $node->getAttribute( $aname ); If C<<<<<< $node >>>>>> has an attribute with the name C<<<<<< $aname >>>>>>, the value of this attribute will get returned. =item getAttributeNS - $avalue = $node-EgetAttributeNS( $nsURI, $aname ); + $avalue = $node->getAttributeNS( $nsURI, $aname ); Retrieves an attribute value by local name and namespace URI. =item getAttributeNode - $attrnode = $node-EgetAttributeNode( $aname ); + $attrnode = $node->getAttributeNode( $aname ); Retrieve an attribute node by name. If no attribute with a given name exists, C<<<<<< undef >>>>>> is returned. =item getAttributeNodeNS - $attrnode = $node-EgetAttributeNodeNS( $namespaceURI, $aname ); + $attrnode = $node->getAttributeNodeNS( $namespaceURI, $aname ); Retrieves an attribute node by local name and namespace URI. If no attribute with a given localname and namespace exists, C<<<<<< undef >>>>>> is returned. @@ -116,21 +116,21 @@ =item removeAttribute - $node-EremoveAttribute( $aname ); + $node->removeAttribute( $aname ); The method removes the attribute C<<<<<< $aname >>>>>> from the node's attribute list, if the attribute can be found. =item removeAttributeNS - $node-EremoveAttributeNS( $nsURI, $aname ); + $node->removeAttributeNS( $nsURI, $aname ); Namespace version of C<<<<<< removeAttribute >>>>>> =item hasAttribute - $boolean = $node-EhasAttribute( $aname ); + $boolean = $node->hasAttribute( $aname ); This function tests if the named attribute is set for the node. If the attribute is specified, TRUE (1) will be returned, otherwise the return value @@ -139,14 +139,14 @@ =item hasAttributeNS - $boolean = $node-EhasAttributeNS( $nsURI, $aname ); + $boolean = $node->hasAttributeNS( $nsURI, $aname ); namespace version of C<<<<<< hasAttribute >>>>>> =item getChildrenByTagName - @nodes = $node-EgetChildrenByTagName($tagname); + @nodes = $node->getChildrenByTagName($tagname); The function gives direct access to all child elements of the current node with a given tagname, where tagname is a qualified name, that is, in case of @@ -160,7 +160,7 @@ =item getChildrenByTagNameNS - @nodes = $node-EgetChildrenByTagNameNS($nsURI,$tagname); + @nodes = $node->getChildrenByTagNameNS($nsURI,$tagname); Namespace version of C<<<<<< getChildrenByTagName >>>>>>. A special nsURI '*' matches any namespace URI, in which case the function behaves just like C<<<<<< getChildrenByLocalName >>>>>>. @@ -171,7 +171,7 @@ =item getChildrenByLocalName - @nodes = $node-EgetChildrenByLocalName($localname); + @nodes = $node->getChildrenByLocalName($localname); The function gives direct access to all child elements of the current node with a given local name. It makes things a lot easier if one needs to handle big @@ -183,7 +183,7 @@ =item getElementsByTagName - @nodes = $node-EgetElementsByTagName($tagname); + @nodes = $node->getElementsByTagName($tagname); This function is part of the spec. It fetches all descendants of a node with a given tagname, where C<<<<<< tagname >>>>>> is a qualified name, that is, in case of namespace usage it may consist of a @@ -194,7 +194,7 @@ =item getElementsByTagNameNS - @nodes = $node-EgetElementsByTagNameNS($nsURI,$localname); + @nodes = $node->getElementsByTagNameNS($nsURI,$localname); Namespace version of C<<<<<< getElementsByTagName >>>>>> as found in the DOM spec. A special C<<<<<< localname >>>>>> '*' can be used to match any local name and C<<<<<< nsURI >>>>>> '*' can be used to match any namespace URI. @@ -203,7 +203,7 @@ =item getElementsByLocalName - @nodes = $node-EgetElementsByLocalName($localname); + @nodes = $node->getElementsByLocalName($localname); This function is not found in the DOM specification. It is a mix of getElementsByTagName and getElementsByTagNameNS. It will fetch all tags @@ -215,7 +215,7 @@ =item appendWellBalancedChunk - $node-EappendWellBalancedChunk( $chunk ); + $node->appendWellBalancedChunk( $chunk ); Sometimes it is necessary to append a string coded XML Tree to a node. I<<<<<< appendWellBalancedChunk >>>>>> will do the trick for you. But this is only done if the String is C<<<<<< well-balanced >>>>>>. @@ -231,28 +231,28 @@ =item appendText - $node-EappendText( $PCDATA ); + $node->appendText( $PCDATA ); alias for appendTextNode(). =item appendTextNode - $node-EappendTextNode( $PCDATA ); + $node->appendTextNode( $PCDATA ); This wrapper function lets you add a string directly to an element node. =item appendTextChild - $node-EappendTextChild( $childname , $PCDATA ); + $node->appendTextChild( $childname , $PCDATA ); Somewhat similar with C<<<<<< appendTextNode >>>>>>: It lets you set an Element, that contains only a C<<<<<< text node >>>>>> directly by specifying the name and the text content. =item setNamespace - $node-EsetNamespace( $nsURI , $nsPrefix, $activate ); + $node->setNamespace( $nsURI , $nsPrefix, $activate ); setNamespace() allows one to apply a namespace to an element. The function takes three parameters: 1. the namespace URI, which is required and the two @@ -308,7 +308,7 @@ =item setNamespaceDeclURI - $node-EsetNamespaceDeclURI( $nsPrefix, $newURI ); + $node->setNamespaceDeclURI( $nsPrefix, $newURI ); EXPERIMENTAL IN 1.61 ! @@ -332,7 +332,7 @@ =item setNamespaceDeclPrefix - $node-EsetNamespaceDeclPrefix( $oldPrefix, $newPrefix ); + $node->setNamespaceDeclPrefix( $oldPrefix, $newPrefix ); EXPERIMENTAL IN 1.61 ! @@ -382,7 +382,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/ErrNo.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/ErrNo.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/ErrNo.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/ErrNo.pm 2019-02-10 14:52:09.000000000 +0000 @@ -14,7 +14,7 @@ use warnings; use vars qw($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use constant ERR_OK => 0; use constant ERR_INTERNAL_ERROR => 1; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/ErrNo.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/ErrNo.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/ErrNo.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/ErrNo.pod 2019-02-10 14:56:01.000000000 +0000 @@ -17,7 +17,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Error.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Error.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Error.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Error.pm 2019-02-10 14:52:09.000000000 +0000 @@ -29,7 +29,7 @@ fallback => 1; $WARNINGS = 0; # 0: suppress, 1: report via warn, 2: report via die -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use constant XML_ERR_NONE => 0; use constant XML_ERR_WARNING => 1; # A simple warning diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Error.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Error.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Error.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Error.pod 2019-02-10 14:56:01.000000000 +0000 @@ -16,23 +16,23 @@ } $XML::LibXML::Error::WARNINGS=1; - $message = $@-Eas_string(); - print $@-Edump(); - $error_domain = $@-Edomain(); - $error_code = $@-Ecode(); - $error_message = $@-Emessage(); - $error_level = $@-Elevel(); - $filename = $@-Efile(); - $line = $@-Eline(); - $nodename = $@-Enodename(); - $error_str1 = $@-Estr1(); - $error_str2 = $@-Estr2(); - $error_str3 = $@-Estr3(); - $error_num1 = $@-Enum1(); - $error_num2 = $@-Enum2(); - $string = $@-Econtext(); - $offset = $@-Ecolumn(); - $previous_error = $@-E_prev(); + $message = $@->as_string(); + print $@->dump(); + $error_domain = $@->domain(); + $error_code = $@->code(); + $error_message = $@->message(); + $error_level = $@->level(); + $filename = $@->file(); + $line = $@->line(); + $nodename = $@->nodename(); + $error_str1 = $@->str1(); + $error_str2 = $@->str2(); + $error_str3 = $@->str3(); + $error_num1 = $@->num1(); + $error_num2 = $@->num2(); + $string = $@->context(); + $offset = $@->column(); + $previous_error = $@->_prev(); =head1 DESCRIPTION @@ -67,7 +67,7 @@ =item as_string - $message = $@-Eas_string(); + $message = $@->as_string(); This function serializes an XML::LibXML::Error object to a string containing the full error message close to the message produced by I<<<<<< libxml2 >>>>>> default error handlers and tools like xmllint. This method is also used to @@ -77,7 +77,7 @@ =item dump - print $@-Edump(); + print $@->dump(); This function serializes an XML::LibXML::Error to a string displaying all fields of the error structure individually on separate lines of the form 'name' @@ -86,7 +86,7 @@ =item domain - $error_domain = $@-Edomain(); + $error_domain = $@->domain(); Returns string containing information about what part of the library raised the error. Can be one of: "parser", "tree", "namespace", "validity", "HTML parser", @@ -97,7 +97,7 @@ =item code - $error_code = $@-Ecode(); + $error_code = $@->code(); Returns the actual libxml2 error code. The XML::LibXML::ErrNo module defines constants for individual error codes. Currently libxml2 uses over 480 different @@ -106,14 +106,14 @@ =item message - $error_message = $@-Emessage(); + $error_message = $@->message(); Returns a human-readable informative error message. =item level - $error_level = $@-Elevel(); + $error_level = $@->level(); Returns an integer value describing how consequent is the error. XML::LibXML::Error defines the following constants: @@ -150,21 +150,21 @@ =item file - $filename = $@-Efile(); + $filename = $@->file(); Returns the filename of the file being processed while the error occurred. =item line - $line = $@-Eline(); + $line = $@->line(); The line number, if available. =item nodename - $nodename = $@-Enodename(); + $nodename = $@->nodename(); Name of the node where error occurred, if available. When this field is non-empty, libxml2 actually returned a physical pointer to the specified node. @@ -175,35 +175,35 @@ =item str1 - $error_str1 = $@-Estr1(); + $error_str1 = $@->str1(); Error specific. Extra string information. =item str2 - $error_str2 = $@-Estr2(); + $error_str2 = $@->str2(); Error specific. Extra string information. =item str3 - $error_str3 = $@-Estr3(); + $error_str3 = $@->str3(); Error specific. Extra string information. =item num1 - $error_num1 = $@-Enum1(); + $error_num1 = $@->num1(); Error specific. Extra numeric information. =item num2 - $error_num2 = $@-Enum2(); + $error_num2 = $@->num2(); In recent libxml2 versions, this value contains a column number of the error or 0 if N/A. @@ -211,7 +211,7 @@ =item context - $string = $@-Econtext(); + $string = $@->context(); For parsing errors, this field contains about 80 characters of the XML near the place where the error occurred. The field C<<<<<< $@-Ecolumn() >>>>>> contains the corresponding offset. Where N/A, the field is undefined. @@ -219,14 +219,14 @@ =item column - $offset = $@-Ecolumn(); + $offset = $@->column(); See C<<<<<< $@-Ecolumn() >>>>>> above. =item _prev - $previous_error = $@-E_prev(); + $previous_error = $@->_prev(); This field can possibly hold a reference to another XML::LibXML::Error object representing an error which occurred just before this error. @@ -244,7 +244,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/InputCallback.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/InputCallback.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/InputCallback.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/InputCallback.pod 2019-02-10 14:56:01.000000000 +0000 @@ -280,7 +280,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Literal.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Literal.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Literal.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Literal.pm 2019-02-10 14:52:09.000000000 +0000 @@ -16,7 +16,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Namespace.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Namespace.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Namespace.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Namespace.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,16 +10,16 @@ # Only methods specific to Namespace nodes are listed here, # see the XML::LibXML::Node manpage for other methods - my $ns = XML::LibXML::Namespace-Enew($nsURI); - print $ns-EnodeName(); - print $ns-Ename(); - $localname = $ns-EgetLocalName(); - print $ns-EgetData(); - print $ns-EgetValue(); - print $ns-Evalue(); - $known_uri = $ns-EgetNamespaceURI(); - $known_prefix = $ns-EgetPrefix(); - $key = $ns-Eunique_key(); + my $ns = XML::LibXML::Namespace->new($nsURI); + print $ns->nodeName(); + print $ns->name(); + $localname = $ns->getLocalName(); + print $ns->getData(); + print $ns->getValue(); + print $ns->value(); + $known_uri = $ns->getNamespaceURI(); + $known_prefix = $ns->getPrefix(); + $key = $ns->unique_key(); =head1 DESCRIPTION @@ -40,7 +40,7 @@ =item new - my $ns = XML::LibXML::Namespace-Enew($nsURI); + my $ns = XML::LibXML::Namespace->new($nsURI); Creates a new Namespace node. Note that this is not a 'node' as an attribute or an element node. Therefore you can't do call all L<<<<<< XML::LibXML::Node >>>>>> Functions. All functions available for this node are listed below. @@ -63,21 +63,21 @@ =item nodeName - print $ns-EnodeName(); + print $ns->nodeName(); Returns "xmlns:prefix", where prefix is the prefix for this namespace. =item name - print $ns-Ename(); + print $ns->name(); Alias for nodeName() =item getLocalName - $localname = $ns-EgetLocalName(); + $localname = $ns->getLocalName(); Returns the local name of this node as if it were an attribute, that is, the prefix associated with the namespace. @@ -85,7 +85,7 @@ =item getData - print $ns-EgetData(); + print $ns->getData(); Returns the URI of the namespace, i.e. the value of this node as if it were an attribute. @@ -93,35 +93,35 @@ =item getValue - print $ns-EgetValue(); + print $ns->getValue(); Alias for getData() =item value - print $ns-Evalue(); + print $ns->value(); Alias for getData() =item getNamespaceURI - $known_uri = $ns-EgetNamespaceURI(); + $known_uri = $ns->getNamespaceURI(); Returns the string "http://www.w3.org/2000/xmlns/" =item getPrefix - $known_prefix = $ns-EgetPrefix(); + $known_prefix = $ns->getPrefix(); Returns the string "xmlns" =item unique_key - $key = $ns-Eunique_key(); + $key = $ns->unique_key(); This method returns a key guaranteed to be unique for this namespace, and to always be the same value for this namespace. Two namespace objects return the @@ -141,7 +141,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/NodeList.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/NodeList.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/NodeList.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/NodeList.pm 2019-02-10 14:52:09.000000000 +0000 @@ -17,7 +17,7 @@ use XML::LibXML::Number; use vars qw($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&to_literal, diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Node.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Node.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Node.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Node.pod 2019-02-10 14:56:01.000000000 +0000 @@ -8,65 +8,65 @@ use XML::LibXML; - $name = $node-EnodeName; - $node-EsetNodeName( $newName ); - $bool = $node-EisSameNode( $other_node ); - $bool = $node-EisEqual( $other_node ); - $num = $node-Eunique_key; - $content = $node-EnodeValue; - $content = $node-EtextContent; - $type = $node-EnodeType; - $node-EunbindNode(); - $childnode = $node-EremoveChild( $childnode ); - $oldnode = $node-EreplaceChild( $newNode, $oldNode ); - $node-EreplaceNode($newNode); - $childnode = $node-EappendChild( $childnode ); - $childnode = $node-EaddChild( $childnode ); - $node = $parent-EaddNewChild( $nsURI, $name ); - $node-EaddSibling($newNode); - $newnode =$node-EcloneNode( $deep ); - $parentnode = $node-EparentNode; - $nextnode = $node-EnextSibling(); - $nextnode = $node-EnextNonBlankSibling(); - $prevnode = $node-EpreviousSibling(); - $prevnode = $node-EpreviousNonBlankSibling(); - $boolean = $node-EhasChildNodes(); - $childnode = $node-EfirstChild; - $childnode = $node-ElastChild; - $documentnode = $node-EownerDocument; - $node = $node-EgetOwner; - $node-EsetOwnerDocument( $doc ); - $node-EinsertBefore( $newNode, $refNode ); - $node-EinsertAfter( $newNode, $refNode ); - @nodes = $node-Efindnodes( $xpath_expression ); - $result = $node-Efind( $xpath ); - print $node-Efindvalue( $xpath ); - $bool = $node-Eexists( $xpath_expression ); - @childnodes = $node-EchildNodes(); - @childnodes = $node-EnonBlankChildNodes(); - $xmlstring = $node-EtoString($format,$docencoding); - $c14nstring = $node-EtoStringC14N(); - $c14nstring = $node-EtoStringC14N($with_comments, $xpath_expression , $xpath_context); - $c14nstring = $node-EtoStringC14N_v1_1(); - $c14nstring = $node-EtoStringC14N_v1_1($with_comments, $xpath_expression , $xpath_context); - $ec14nstring = $node-EtoStringEC14N(); - $ec14nstring = $node-EtoStringEC14N($with_comments, $xpath_expression, $inclusive_prefix_list); - $ec14nstring = $node-EtoStringEC14N($with_comments, $xpath_expression, $xpath_context, $inclusive_prefix_list); - $str = $doc-Eserialize($format); - $localname = $node-Elocalname; - $nameprefix = $node-Eprefix; - $uri = $node-EnamespaceURI(); - $boolean = $node-EhasAttributes(); - @attributelist = $node-Eattributes(); - $URI = $node-ElookupNamespaceURI( $prefix ); - $prefix = $node-ElookupNamespacePrefix( $URI ); - $node-Enormalize; - @nslist = $node-EgetNamespaces; - $node-EremoveChildNodes(); - $strURI = $node-EbaseURI(); - $node-EsetBaseURI($strURI); - $node-EnodePath(); - $lineno = $node-Eline_number(); + $name = $node->nodeName; + $node->setNodeName( $newName ); + $bool = $node->isSameNode( $other_node ); + $bool = $node->isEqual( $other_node ); + $num = $node->unique_key; + $content = $node->nodeValue; + $content = $node->textContent; + $type = $node->nodeType; + $node->unbindNode(); + $childnode = $node->removeChild( $childnode ); + $oldnode = $node->replaceChild( $newNode, $oldNode ); + $node->replaceNode($newNode); + $childnode = $node->appendChild( $childnode ); + $childnode = $node->addChild( $childnode ); + $node = $parent->addNewChild( $nsURI, $name ); + $node->addSibling($newNode); + $newnode =$node->cloneNode( $deep ); + $parentnode = $node->parentNode; + $nextnode = $node->nextSibling(); + $nextnode = $node->nextNonBlankSibling(); + $prevnode = $node->previousSibling(); + $prevnode = $node->previousNonBlankSibling(); + $boolean = $node->hasChildNodes(); + $childnode = $node->firstChild; + $childnode = $node->lastChild; + $documentnode = $node->ownerDocument; + $node = $node->getOwner; + $node->setOwnerDocument( $doc ); + $node->insertBefore( $newNode, $refNode ); + $node->insertAfter( $newNode, $refNode ); + @nodes = $node->findnodes( $xpath_expression ); + $result = $node->find( $xpath ); + print $node->findvalue( $xpath ); + $bool = $node->exists( $xpath_expression ); + @childnodes = $node->childNodes(); + @childnodes = $node->nonBlankChildNodes(); + $xmlstring = $node->toString($format,$docencoding); + $c14nstring = $node->toStringC14N(); + $c14nstring = $node->toStringC14N($with_comments, $xpath_expression , $xpath_context); + $c14nstring = $node->toStringC14N_v1_1(); + $c14nstring = $node->toStringC14N_v1_1($with_comments, $xpath_expression , $xpath_context); + $ec14nstring = $node->toStringEC14N(); + $ec14nstring = $node->toStringEC14N($with_comments, $xpath_expression, $inclusive_prefix_list); + $ec14nstring = $node->toStringEC14N($with_comments, $xpath_expression, $xpath_context, $inclusive_prefix_list); + $str = $doc->serialize($format); + $localname = $node->localname; + $nameprefix = $node->prefix; + $uri = $node->namespaceURI(); + $boolean = $node->hasAttributes(); + @attributelist = $node->attributes(); + $URI = $node->lookupNamespaceURI( $prefix ); + $prefix = $node->lookupNamespacePrefix( $URI ); + $node->normalize; + @nslist = $node->getNamespaces; + $node->removeChildNodes(); + $strURI = $node->baseURI(); + $node->setBaseURI($strURI); + $node->nodePath(); + $lineno = $node->line_number(); =head1 DESCRIPTION @@ -86,7 +86,7 @@ =item nodeName - $name = $node-EnodeName; + $name = $node->nodeName; Returns the node's name. This function is aware of namespaces and returns the full name of the current node (C<<<<<< prefix:localname >>>>>>). @@ -98,7 +98,7 @@ =item setNodeName - $node-EsetNodeName( $newName ); + $node->setNodeName( $newName ); In very limited situations, it is useful to change a nodes name. In the DOM specification this should throw an error. This Function is aware of namespaces. @@ -106,7 +106,7 @@ =item isSameNode - $bool = $node-EisSameNode( $other_node ); + $bool = $node->isSameNode( $other_node ); returns TRUE (1) if the given nodes refer to the same node structure, otherwise FALSE (0) is returned. @@ -114,7 +114,7 @@ =item isEqual - $bool = $node-EisEqual( $other_node ); + $bool = $node->isEqual( $other_node ); deprecated version of isSameNode(). @@ -123,7 +123,7 @@ =item unique_key - $num = $node-Eunique_key; + $num = $node->unique_key; This function is not specified for any DOM level. It returns a key guaranteed to be unique for this node, and to always be the same value for this node. In @@ -135,7 +135,7 @@ =item nodeValue - $content = $node-EnodeValue; + $content = $node->nodeValue; If the node has any content (such as stored in a C<<<<<< text node >>>>>>) it can get requested through this function. @@ -145,7 +145,7 @@ =item textContent - $content = $node-EtextContent; + $content = $node->textContent; this function returns the content of all text nodes in the descendants of the given node as specified in DOM. @@ -153,7 +153,7 @@ =item nodeType - $type = $node-EnodeType; + $type = $node->nodeType; Return a numeric value representing the node type of this node. The module XML::LibXML by default exports constants for the node types (see the EXPORT @@ -162,7 +162,7 @@ =item unbindNode - $node-EunbindNode(); + $node->unbindNode(); Unbinds the Node from its siblings and Parent, but not from the Document it belongs to. If the node is not inserted into the DOM afterwards, it will be @@ -172,14 +172,14 @@ =item removeChild - $childnode = $node-EremoveChild( $childnode ); + $childnode = $node->removeChild( $childnode ); This will unbind the Child Node from its parent C<<<<<< $node >>>>>>. The function returns the unbound node. If C<<<<<< oldNode >>>>>> is not a child of the given Node the function will fail. =item replaceChild - $oldnode = $node-EreplaceChild( $newNode, $oldNode ); + $oldnode = $node->replaceChild( $newNode, $oldNode ); Replaces the C<<<<<< $oldNode >>>>>> with the C<<<<<< $newNode >>>>>>. The C<<<<<< $oldNode >>>>>> will be unbound from the Node. This function differs from the DOM L2 specification, in the case, if the new node is not part of the document, the @@ -188,7 +188,7 @@ =item replaceNode - $node-EreplaceNode($newNode); + $node->replaceNode($newNode); This function is very similar to replaceChild(), but it replaces the node itself rather than a childnode. This is useful if a node found by any XPath @@ -197,7 +197,7 @@ =item appendChild - $childnode = $node-EappendChild( $childnode ); + $childnode = $node->appendChild( $childnode ); The function will add the C<<<<<< $childnode >>>>>> to the end of C<<<<<< $node >>>>>>'s children. The function should fail, if the new childnode is already a child of C<<<<<< $node >>>>>>. This function differs from the DOM L2 specification, in the case, if the new @@ -206,7 +206,7 @@ =item addChild - $childnode = $node-EaddChild( $childnode ); + $childnode = $node->addChild( $childnode ); As an alternative to appendChild() one can use the addChild() function. This function is a bit faster, because it avoids all DOM conformity checks. @@ -243,7 +243,7 @@ =item addNewChild - $node = $parent-EaddNewChild( $nsURI, $name ); + $node = $parent->addNewChild( $nsURI, $name ); Similar to C<<<<<< addChild() >>>>>>, this function uses low level libxml2 functionality to provide faster interface for DOM building. I<<<<<< addNewChild() >>>>>> uses C<<<<<< xmlNewChild() >>>>>> to create a new node on a given parent element. @@ -261,7 +261,7 @@ =item addSibling - $node-EaddSibling($newNode); + $node->addSibling($newNode); addSibling() allows adding an additional node to the end of a nodelist, defined by the given node. @@ -269,7 +269,7 @@ =item cloneNode - $newnode =$node-EcloneNode( $deep ); + $newnode =$node->cloneNode( $deep ); I<<<<<< cloneNode >>>>>> creates a copy of C<<<<<< $node >>>>>>. When $deep is set to 1 (true) the function will copy all child nodes as well. If $deep is 0 only the current node will be copied. Note that in case of @@ -282,21 +282,21 @@ =item parentNode - $parentnode = $node-EparentNode; + $parentnode = $node->parentNode; Returns simply the Parent Node of the current node. =item nextSibling - $nextnode = $node-EnextSibling(); + $nextnode = $node->nextSibling(); Returns the next sibling if any . =item nextNonBlankSibling - $nextnode = $node-EnextNonBlankSibling(); + $nextnode = $node->nextNonBlankSibling(); Returns the next non-blank sibling if any (a node is blank if it is a Text or CDATA node consisting of whitespace only). This method is not defined by DOM. @@ -304,14 +304,14 @@ =item previousSibling - $prevnode = $node-EpreviousSibling(); + $prevnode = $node->previousSibling(); Analogous to I<<<<<< getNextSibling >>>>>> the function returns the previous sibling if any. =item previousNonBlankSibling - $prevnode = $node-EpreviousNonBlankSibling(); + $prevnode = $node->previousNonBlankSibling(); Returns the previous non-blank sibling if any (a node is blank if it is a Text or CDATA node consisting of whitespace only). This method is not defined by @@ -320,7 +320,7 @@ =item hasChildNodes - $boolean = $node-EhasChildNodes(); + $boolean = $node->hasChildNodes(); If the current node has child nodes this function returns TRUE (1), otherwise it returns FALSE (0, not undef). @@ -328,7 +328,7 @@ =item firstChild - $childnode = $node-EfirstChild; + $childnode = $node->firstChild; If a node has child nodes this function will return the first node in the child list. @@ -336,14 +336,14 @@ =item lastChild - $childnode = $node-ElastChild; + $childnode = $node->lastChild; If the C<<<<<< $node >>>>>> has child nodes this function returns the last child node. =item ownerDocument - $documentnode = $node-EownerDocument; + $documentnode = $node->ownerDocument; Through this function it is always possible to access the document the current node is bound to. @@ -351,7 +351,7 @@ =item getOwner - $node = $node-EgetOwner; + $node = $node->getOwner; This function returns the node the current node is associated with. In most cases this will be a document node or a document fragment node. @@ -359,7 +359,7 @@ =item setOwnerDocument - $node-EsetOwnerDocument( $doc ); + $node->setOwnerDocument( $doc ); This function binds a node to another DOM. This method unbinds the node first, if it is already bound to another document. @@ -370,7 +370,7 @@ =item insertBefore - $node-EinsertBefore( $newNode, $refNode ); + $node->insertBefore( $newNode, $refNode ); The method inserts C<<<<<< $newNode >>>>>> before C<<<<<< $refNode >>>>>>. If C<<<<<< $refNode >>>>>> is undefined, the newNode will be set as the new last child of the parent node. This function differs from the DOM L2 specification, in the case, if the new @@ -391,7 +391,7 @@ =item insertAfter - $node-EinsertAfter( $newNode, $refNode ); + $node->insertAfter( $newNode, $refNode ); The method inserts C<<<<<< $newNode >>>>>> after C<<<<<< $refNode >>>>>>. If C<<<<<< $refNode >>>>>> is undefined, the newNode will be set as the new last child of the parent node. @@ -400,7 +400,7 @@ =item findnodes - @nodes = $node-Efindnodes( $xpath_expression ); + @nodes = $node->findnodes( $xpath_expression ); I<<<<<< findnodes >>>>>> evaluates the xpath expression (XPath 1.0) on the current node and returns the resulting node set as an array. In scalar context, returns an L<<<<<< XML::LibXML::NodeList >>>>>> object. @@ -456,7 +456,7 @@ =item find - $result = $node-Efind( $xpath ); + $result = $node->find( $xpath ); I<<<<<< find >>>>>> evaluates the XPath 1.0 expression using the current node as the context of the expression, and returns the result depending on what type of result the XPath @@ -470,7 +470,7 @@ =item findvalue - print $node-Efindvalue( $xpath ); + print $node->findvalue( $xpath ); I<<<<<< findvalue >>>>>> is exactly equivalent to: @@ -490,7 +490,7 @@ =item exists - $bool = $node-Eexists( $xpath_expression ); + $bool = $node->exists( $xpath_expression ); This method behaves like I<<<<<< findnodes >>>>>>, except that it only returns a boolean value (1 if the expression matches a node, 0 otherwise) and may be faster than I<<<<<< findnodes >>>>>>, because the XPath evaluation may stop early on the first match (this is true @@ -502,7 +502,7 @@ =item childNodes - @childnodes = $node-EchildNodes(); + @childnodes = $node->childNodes(); I<<<<<< childNodes >>>>>> implements a more intuitive interface to the childnodes of the current node. It enables you to pass all children directly to a C<<<<<< map >>>>>> or C<<<<<< grep >>>>>>. If this function is called in scalar context, a L<<<<<< XML::LibXML::NodeList >>>>>> object will be returned. @@ -510,7 +510,7 @@ =item nonBlankChildNodes - @childnodes = $node-EnonBlankChildNodes(); + @childnodes = $node->nonBlankChildNodes(); This is like I<<<<<< childNodes >>>>>>, but returns only non-blank nodes (where a node is blank if it is a Text or CDATA node consisting of whitespace only). This method is not defined by DOM. @@ -518,7 +518,7 @@ =item toString - $xmlstring = $node-EtoString($format,$docencoding); + $xmlstring = $node->toString($format,$docencoding); This method is similar to the method C<<<<<< toString >>>>>> of a L<<<<<< XML::LibXML::Document >>>>>> but for a single node. It returns a string consisting of XML serialization of the given node and all its descendants. Unlike C<<<<<< XML::LibXML::Document::toString >>>>>>, in this case the resulting string is by default a character string (UTF-8 @@ -529,8 +529,8 @@ =item toStringC14N - $c14nstring = $node-EtoStringC14N(); - $c14nstring = $node-EtoStringC14N($with_comments, $xpath_expression , $xpath_context); + $c14nstring = $node->toStringC14N(); + $c14nstring = $node->toStringC14N($with_comments, $xpath_expression , $xpath_context); The function is similar to toString(). Instead of simply serializing the document tree, it transforms it as it is specified in the XML-C14N @@ -566,8 +566,8 @@ =item toStringC14N_v1_1 - $c14nstring = $node-EtoStringC14N_v1_1(); - $c14nstring = $node-EtoStringC14N_v1_1($with_comments, $xpath_expression , $xpath_context); + $c14nstring = $node->toStringC14N_v1_1(); + $c14nstring = $node->toStringC14N_v1_1($with_comments, $xpath_expression , $xpath_context); This function behaves like toStringC14N() except that it uses the "XML_C14N_1_1" constant for canonicalising using the "C14N 1.1 spec". @@ -575,9 +575,9 @@ =item toStringEC14N - $ec14nstring = $node-EtoStringEC14N(); - $ec14nstring = $node-EtoStringEC14N($with_comments, $xpath_expression, $inclusive_prefix_list); - $ec14nstring = $node-EtoStringEC14N($with_comments, $xpath_expression, $xpath_context, $inclusive_prefix_list); + $ec14nstring = $node->toStringEC14N(); + $ec14nstring = $node->toStringEC14N($with_comments, $xpath_expression, $inclusive_prefix_list); + $ec14nstring = $node->toStringEC14N($with_comments, $xpath_expression, $xpath_context, $inclusive_prefix_list); The function is similar to toStringC14N() but follows the XML-EXC-C14N Specification (see L<<<<<< http://www.w3.org/TR/xml-exc-c14n >>>>>>) for exclusive canonization of XML. @@ -591,7 +591,7 @@ =item serialize - $str = $doc-Eserialize($format); + $str = $doc->serialize($format); An alias for toString(). This function was name added to be more consistent with libxml2. @@ -609,28 +609,28 @@ =item localname - $localname = $node-Elocalname; + $localname = $node->localname; Returns the local name of a tag. This is the part behind the colon. =item prefix - $nameprefix = $node-Eprefix; + $nameprefix = $node->prefix; Returns the prefix of a tag. This is the part before the colon. =item namespaceURI - $uri = $node-EnamespaceURI(); + $uri = $node->namespaceURI(); returns the URI of the current namespace. =item hasAttributes - $boolean = $node-EhasAttributes(); + $boolean = $node->hasAttributes(); returns 1 (TRUE) if the current node has any attributes set, otherwise 0 (FALSE) is returned. @@ -638,7 +638,7 @@ =item attributes - @attributelist = $node-Eattributes(); + @attributelist = $node->attributes(); This function returns all attributes and namespace declarations assigned to the given node. @@ -653,14 +653,14 @@ =item lookupNamespaceURI - $URI = $node-ElookupNamespaceURI( $prefix ); + $URI = $node->lookupNamespaceURI( $prefix ); Find a namespace URI by its prefix starting at the current node. =item lookupNamespacePrefix - $prefix = $node-ElookupNamespacePrefix( $URI ); + $prefix = $node->lookupNamespacePrefix( $URI ); Find a namespace prefix by its URI starting at the current node. @@ -671,7 +671,7 @@ =item normalize - $node-Enormalize; + $node->normalize; This function normalizes adjacent text nodes. This function is not as strict as libxml2's xmlTextMerge() function, since it will not free a node that is still @@ -680,7 +680,7 @@ =item getNamespaces - @nslist = $node-EgetNamespaces; + @nslist = $node->getNamespaces; If a node has any namespaces defined, this function will return these namespaces. Note, that this will not return all namespaces that are in scope, @@ -692,7 +692,7 @@ =item removeChildNodes - $node-EremoveChildNodes(); + $node->removeChildNodes(); This function is not specified for any DOM level: It removes all childnodes from a node in a single step. Other than the libxml2 function itself @@ -703,7 +703,7 @@ =item baseURI () - $strURI = $node-EbaseURI(); + $strURI = $node->baseURI(); Searches for the base URL of the node. The method should work on both XML and HTML documents even if base mechanisms for these are completely different. It @@ -714,7 +714,7 @@ =item setBaseURI ($strURI) - $node-EsetBaseURI($strURI); + $node->setBaseURI($strURI); This method only does something useful for an element node in an XML document. It sets the xml:base attribute on the node to $strURI, which effectively sets @@ -727,7 +727,7 @@ =item nodePath - $node-EnodePath(); + $node->nodePath(); This function is not specified for any DOM level: It returns a canonical structure based XPath for a given node. @@ -735,7 +735,7 @@ =item line_number - $lineno = $node-Eline_number(); + $lineno = $node->line_number(); This function returns the line number where the tag was found during parsing. If a node is added to the document the line number is 0. Problems may occur, if @@ -763,7 +763,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Number.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Number.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Number.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Number.pm 2019-02-10 14:52:09.000000000 +0000 @@ -14,7 +14,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use overload '""' => \&value, diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Parser.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Parser.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Parser.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Parser.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,70 +10,70 @@ # Parser constructor - $parser = XML::LibXML-Enew(); - $parser = XML::LibXML-Enew(option=Evalue, ...); - $parser = XML::LibXML-Enew({option=Evalue, ...}); + $parser = XML::LibXML->new(); + $parser = XML::LibXML->new(option=>value, ...); + $parser = XML::LibXML->new({option=>value, ...}); # Parsing XML - $dom = XML::LibXML-Eload_xml( - location =E $file_or_url + $dom = XML::LibXML->load_xml( + location => $file_or_url # parser options ... ); - $dom = XML::LibXML-Eload_xml( - string =E $xml_string + $dom = XML::LibXML->load_xml( + string => $xml_string # parser options ... ); - $dom = XML::LibXML-Eload_xml( - string =E (\$xml_string) + $dom = XML::LibXML->load_xml( + string => (\$xml_string) # parser options ... ); - $dom = XML::LibXML-Eload_xml({ - IO =E $perl_file_handle + $dom = XML::LibXML->load_xml({ + IO => $perl_file_handle # parser options ... ); - $dom = $parser-Eload_xml(...); + $dom = $parser->load_xml(...); # Parsing HTML - $dom = XML::LibXML-Eload_html(...); - $dom = $parser-Eload_html(...); + $dom = XML::LibXML->load_html(...); + $dom = $parser->load_html(...); # Parsing well-balanced XML chunks - $fragment = $parser-Eparse_balanced_chunk( $wbxmlstring, $encoding ); + $fragment = $parser->parse_balanced_chunk( $wbxmlstring, $encoding ); # Processing XInclude - $parser-Eprocess_xincludes( $doc ); - $parser-EprocessXIncludes( $doc ); + $parser->process_xincludes( $doc ); + $parser->processXIncludes( $doc ); # Old-style parser interfaces - $doc = $parser-Eparse_file( $xmlfilename ); - $doc = $parser-Eparse_fh( $io_fh ); - $doc = $parser-Eparse_string( $xmlstring); - $doc = $parser-Eparse_html_file( $htmlfile, \%opts ); - $doc = $parser-Eparse_html_fh( $io_fh, \%opts ); - $doc = $parser-Eparse_html_string( $htmlstring, \%opts ); + $doc = $parser->parse_file( $xmlfilename ); + $doc = $parser->parse_fh( $io_fh ); + $doc = $parser->parse_string( $xmlstring); + $doc = $parser->parse_html_file( $htmlfile, \%opts ); + $doc = $parser->parse_html_fh( $io_fh, \%opts ); + $doc = $parser->parse_html_string( $htmlstring, \%opts ); # Push parser - $parser-Eparse_chunk($string, $terminate); - $parser-Einit_push(); - $parser-Epush(@data); - $doc = $parser-Efinish_push( $recover ); + $parser->parse_chunk($string, $terminate); + $parser->init_push(); + $parser->push(@data); + $doc = $parser->finish_push( $recover ); # Set/query parser options - $parser-Eoption_exists($name); - $parser-Eget_option($name); - $parser-Eset_option($name,$value); - $parser-Eset_options({$name=E$value,...}); + $parser->option_exists($name); + $parser->get_option($name); + $parser->set_option($name,$value); + $parser->set_options({$name=>$value,...}); # XML catalogs - $parser-Eload_catalog( $catalog_file ); + $parser->load_catalog( $catalog_file ); =head1 PARSING @@ -121,9 +121,9 @@ =item new - $parser = XML::LibXML-Enew(); - $parser = XML::LibXML-Enew(option=Evalue, ...); - $parser = XML::LibXML-Enew({option=Evalue, ...}); + $parser = XML::LibXML->new(); + $parser = XML::LibXML->new(option=>value, ...); + $parser = XML::LibXML->new({option=>value, ...}); Create a new XML and HTML parser instance. Each parser instance holds default values for various parser options. Optionally, one can pass a hash reference or @@ -154,23 +154,23 @@ =item load_xml - $dom = XML::LibXML-Eload_xml( - location =E $file_or_url + $dom = XML::LibXML->load_xml( + location => $file_or_url # parser options ... ); - $dom = XML::LibXML-Eload_xml( - string =E $xml_string + $dom = XML::LibXML->load_xml( + string => $xml_string # parser options ... ); - $dom = XML::LibXML-Eload_xml( - string =E (\$xml_string) + $dom = XML::LibXML->load_xml( + string => (\$xml_string) # parser options ... ); - $dom = XML::LibXML-Eload_xml({ - IO =E $perl_file_handle + $dom = XML::LibXML->load_xml({ + IO => $perl_file_handle # parser options ... ); - $dom = $parser-Eload_xml(...); + $dom = $parser->load_xml(...); This function is available since XML::LibXML 1.70. It provides easy to use @@ -186,8 +186,8 @@ =item load_html - $dom = XML::LibXML-Eload_html(...); - $dom = $parser-Eload_html(...); + $dom = XML::LibXML->load_html(...); + $dom = $parser->load_html(...); This function is available since XML::LibXML 1.70. It has the same usage as C<<<<<< load_xml >>>>>>, providing interface to the HTML parser. See C<<<<<< load_xml >>>>>> for more information. @@ -213,7 +213,7 @@ =item parse_balanced_chunk - $fragment = $parser-Eparse_balanced_chunk( $wbxmlstring, $encoding ); + $fragment = $parser->parse_balanced_chunk( $wbxmlstring, $encoding ); This function parses a well balanced XML string into a L<<<<<< XML::LibXML::DocumentFragment >>>>>>. The first arguments contains the input string, the optional second argument can be used to specify character encoding of the input (UTF-8 is assumed by @@ -237,7 +237,7 @@ =item process_xincludes - $parser-Eprocess_xincludes( $doc ); + $parser->process_xincludes( $doc ); After a document is parsed into a DOM structure, you may want to expand the documents XInclude tags. This function processes the given document structure @@ -259,14 +259,14 @@ =item processXIncludes - $parser-EprocessXIncludes( $doc ); + $parser->processXIncludes( $doc ); This is an alias to process_xincludes, but through a JAVA like function name. =item parse_file - $doc = $parser-Eparse_file( $xmlfilename ); + $doc = $parser->parse_file( $xmlfilename ); This function parses an XML document from a file or network; $xmlfilename can be either a filename or an URL. Note that for parsing files, this function is @@ -275,7 +275,7 @@ =item parse_fh - $doc = $parser-Eparse_fh( $io_fh ); + $doc = $parser->parse_fh( $io_fh ); parse_fh() parses a IOREF or a subclass of IO::Handle. @@ -290,7 +290,7 @@ =item parse_string - $doc = $parser-Eparse_string( $xmlstring); + $doc = $parser->parse_string( $xmlstring); This function is similar to parse_fh(), but it parses an XML document that is available as a single string in memory, or alternatively as a reference to a @@ -305,7 +305,7 @@ =item parse_html_file - $doc = $parser-Eparse_html_file( $htmlfile, \%opts ); + $doc = $parser->parse_html_file( $htmlfile, \%opts ); Similar to parse_file() but parses HTML (strict) documents; $htmlfile can be filename or URL. @@ -316,7 +316,7 @@ =item parse_html_fh - $doc = $parser-Eparse_html_fh( $io_fh, \%opts ); + $doc = $parser->parse_html_fh( $io_fh, \%opts ); Similar to parse_fh() but parses HTML (strict) streams. @@ -329,7 +329,7 @@ =item parse_html_string - $doc = $parser-Eparse_html_string( $htmlstring, \%opts ); + $doc = $parser->parse_html_string( $htmlstring, \%opts ); Similar to parse_string() but parses HTML (strict) strings. @@ -366,7 +366,7 @@ =item parse_chunk - $parser-Eparse_chunk($string, $terminate); + $parser->parse_chunk($string, $terminate); parse_chunk() tries to parse a given chunk of data, which isn't necessarily well balanced data. The function takes two parameters: The chunk of data as a @@ -393,14 +393,14 @@ =item init_push - $parser-Einit_push(); + $parser->init_push(); Initializes the push parser. =item push - $parser-Epush(@data); + $parser->push(@data); This function pushes the data stored inside the array to libxml2's parser. Each entry in @data must be a normal scalar! This method can be called repeatedly. @@ -408,7 +408,7 @@ =item finish_push - $doc = $parser-Efinish_push( $recover ); + $doc = $parser->finish_push( $recover ); This function returns the result of the parsing process. If this function is called without a parameter it will complain about non well-formed documents. If @@ -549,7 +549,7 @@ =item option_exists - $parser-Eoption_exists($name); + $parser->option_exists($name); Returns 1 if the current XML::LibXML version supports the option C<<<<<< $name >>>>>>, otherwise returns 0 (note that this does not necessarily mean that the option is supported by the underlying libxml2 library). @@ -557,21 +557,21 @@ =item get_option - $parser-Eget_option($name); + $parser->get_option($name); Returns the current value of the parser option C<<<<<< $name >>>>>>. =item set_option - $parser-Eset_option($name,$value); + $parser->set_option($name,$value); Sets option C<<<<<< $name >>>>>> to value C<<<<<< $value >>>>>>. =item set_options - $parser-Eset_options({$name=E$value,...}); + $parser->set_options({$name=>$value,...}); Sets multiple parsing options at once. @@ -940,7 +940,7 @@ =item load_catalog - $parser-Eload_catalog( $catalog_file ); + $parser->load_catalog( $catalog_file ); Loads the XML catalog file $catalog_file. @@ -984,7 +984,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Pattern.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Pattern.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Pattern.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Pattern.pod 2019-02-10 14:56:01.000000000 +0000 @@ -20,8 +20,8 @@ print $reader->nodePath while $reader->nextPatternMatch($pattern); - $pattern = XML::LibXML::Pattern-Enew( pattern, { prefix =E namespace_URI, ... } ); - $bool = $pattern-EmatchesNode($node); + $pattern = XML::LibXML::Pattern->new( pattern, { prefix => namespace_URI, ... } ); + $bool = $pattern->matchesNode($node); =head1 DESCRIPTION @@ -54,7 +54,7 @@ =item new() - $pattern = XML::LibXML::Pattern-Enew( pattern, { prefix =E namespace_URI, ... } ); + $pattern = XML::LibXML::Pattern->new( pattern, { prefix => namespace_URI, ... } ); The constructor of a pattern takes a pattern expression (as described by the BNF grammar above) and an optional HASH reference mapping prefixes to namespace @@ -71,7 +71,7 @@ =item matchesNode($node) - $bool = $pattern-EmatchesNode($node); + $bool = $pattern->matchesNode($node); Given an XML::LibXML::Node object, returns a true value if the node is matched by the compiled pattern expression. @@ -94,7 +94,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/PI.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/PI.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/PI.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/PI.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,8 +10,8 @@ # Only methods specific to Processing Instruction nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $pinode-EsetData( $data_string ); - $pinode-EsetData( name=Estring_value [...] ); + $pinode->setData( $data_string ); + $pinode->setData( name=>string_value [...] ); =head1 DESCRIPTION @@ -53,8 +53,8 @@ =item setData - $pinode-EsetData( $data_string ); - $pinode-EsetData( name=Estring_value [...] ); + $pinode->setData( $data_string ); + $pinode->setData( name=>string_value [...] ); This method allows one to change the content data of a PI. Additionally to the interface specified for DOM Level2, the method provides a named parameter @@ -74,7 +74,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Reader.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Reader.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Reader.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Reader.pm 2019-02-10 14:52:09.000000000 +0000 @@ -14,7 +14,7 @@ use warnings; use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use 5.008_000; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Reader.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Reader.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Reader.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Reader.pod 2019-02-10 14:56:01.000000000 +0000 @@ -657,7 +657,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/RegExp.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/RegExp.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/RegExp.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/RegExp.pod 2019-02-10 14:56:01.000000000 +0000 @@ -11,9 +11,9 @@ if ($compiled_re->isDeterministic()) { ... } if ($compiled_re->matches($string)) { ... } - $compiled_re = XML::LibXML::RegExp-Enew( $regexp_str ); - $bool = $compiled_re-Ematches($string); - $bool = $compiled_re-EisDeterministic(); + $compiled_re = XML::LibXML::RegExp->new( $regexp_str ); + $bool = $compiled_re->matches($string); + $bool = $compiled_re->isDeterministic(); =head1 DESCRIPTION @@ -24,7 +24,7 @@ =item new() - $compiled_re = XML::LibXML::RegExp-Enew( $regexp_str ); + $compiled_re = XML::LibXML::RegExp->new( $regexp_str ); The constructor takes a string containing a regular expression and returns a compiled regexp object. @@ -32,7 +32,7 @@ =item matches($string) - $bool = $compiled_re-Ematches($string); + $bool = $compiled_re->matches($string); Given a string value, returns a true value if the value is matched by the compiled regular expression. @@ -40,7 +40,7 @@ =item isDeterministic() - $bool = $compiled_re-EisDeterministic(); + $bool = $compiled_re->isDeterministic(); Returns a true value if the regular expression is deterministic; returns false otherwise. (See the definition of determinism in the XML spec (L<<<<<< http://www.w3.org/TR/REC-xml/#determinism >>>>>>)) @@ -58,7 +58,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/RelaxNG.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/RelaxNG.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/RelaxNG.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/RelaxNG.pod 2019-02-10 14:56:01.000000000 +0000 @@ -9,10 +9,10 @@ use XML::LibXML; $doc = XML::LibXML->new->parse_file($url); - $rngschema = XML::LibXML::RelaxNG-Enew( location =E $filename_or_url ); - $rngschema = XML::LibXML::RelaxNG-Enew( string =E $xmlschemastring ); - $rngschema = XML::LibXML::RelaxNG-Enew( DOM =E $doc ); - eval { $rngschema-Evalidate( $doc ); }; + $rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url ); + $rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring ); + $rngschema = XML::LibXML::RelaxNG->new( DOM => $doc ); + eval { $rngschema->validate( $doc ); }; =head1 DESCRIPTION @@ -27,9 +27,9 @@ =item new - $rngschema = XML::LibXML::RelaxNG-Enew( location =E $filename_or_url ); - $rngschema = XML::LibXML::RelaxNG-Enew( string =E $xmlschemastring ); - $rngschema = XML::LibXML::RelaxNG-Enew( DOM =E $doc ); + $rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url ); + $rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring ); + $rngschema = XML::LibXML::RelaxNG->new( DOM => $doc ); The constructor of XML::LibXML::RelaxNG may get called with either one of three parameters. The parameter tells the class from which source it should generate @@ -49,7 +49,7 @@ =item validate - eval { $rngschema-Evalidate( $doc ); }; + eval { $rngschema->validate( $doc ); }; This function allows one to validate a (parsed) document against the given RelaxNG schema. The argument of this function should be an @@ -70,7 +70,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Builder.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Builder.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Builder.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Builder.pm 2019-02-10 14:52:09.000000000 +0000 @@ -21,7 +21,7 @@ return $XML::LibXML::__threads_shared ? 0 : 1; } -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE sub new { my $class = shift; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Builder.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Builder.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Builder.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Builder.pod 2019-02-10 14:56:01.000000000 +0000 @@ -38,7 +38,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Generator.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Generator.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Generator.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Generator.pm 2019-02-10 14:52:09.000000000 +0000 @@ -15,7 +15,7 @@ use XML::LibXML; use vars qw ($VERSION); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE sub CLONE_SKIP { return $XML::LibXML::__threads_shared ? 0 : 1; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Parser.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Parser.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX/Parser.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX/Parser.pm 2019-02-10 14:52:09.000000000 +0000 @@ -18,7 +18,7 @@ use XML::SAX::Base; use XML::SAX::DocumentLocator; -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE @ISA = ('XML::SAX::Base'); sub CLONE_SKIP { diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX.pm 2019-02-10 14:52:09.000000000 +0000 @@ -14,7 +14,7 @@ use vars qw($VERSION @ISA); -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE use XML::LibXML; use XML::SAX::Base; diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/SAX.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/SAX.pod 2019-02-10 14:56:01.000000000 +0000 @@ -47,7 +47,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Schema.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Schema.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Schema.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Schema.pod 2019-02-10 14:56:01.000000000 +0000 @@ -9,9 +9,9 @@ use XML::LibXML; $doc = XML::LibXML->new->parse_file($url); - $xmlschema = XML::LibXML::Schema-Enew( location =E $filename_or_url ); - $xmlschema = XML::LibXML::Schema-Enew( string =E $xmlschemastring ); - eval { $xmlschema-Evalidate( $doc ); }; + $xmlschema = XML::LibXML::Schema->new( location => $filename_or_url ); + $xmlschema = XML::LibXML::Schema->new( string => $xmlschemastring ); + eval { $xmlschema->validate( $doc ); }; =head1 DESCRIPTION @@ -27,8 +27,8 @@ =item new - $xmlschema = XML::LibXML::Schema-Enew( location =E $filename_or_url ); - $xmlschema = XML::LibXML::Schema-Enew( string =E $xmlschemastring ); + $xmlschema = XML::LibXML::Schema->new( location => $filename_or_url ); + $xmlschema = XML::LibXML::Schema->new( string => $xmlschemastring ); The constructor of XML::LibXML::Schema may get called with either one of two parameters. The parameter tells the class from which source it should generate @@ -46,7 +46,7 @@ =item validate - eval { $xmlschema-Evalidate( $doc ); }; + eval { $xmlschema->validate( $doc ); }; This function allows one to validate a (parsed) document against the given XML Schema. The argument of this function should be a L<<<<<< XML::LibXML::Document >>>>>> object. If this function succeeds, it will return 0, otherwise it will die() @@ -66,7 +66,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Text.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Text.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/Text.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/Text.pod 2019-02-10 14:56:01.000000000 +0000 @@ -10,17 +10,17 @@ # Only methods specific to Text nodes are listed here, # see the XML::LibXML::Node manpage for other methods - $text = XML::LibXML::Text-Enew( $content ); - $nodedata = $text-Edata; - $text-EsetData( $text_content ); - $text-EsubstringData($offset, $length); - $text-EappendData( $somedata ); - $text-EinsertData($offset, $string); - $text-EdeleteData($offset, $length); - $text-EdeleteDataString($remstring, $all); - $text-EreplaceData($offset, $length, $string); - $text-EreplaceDataString($old, $new, $flag); - $text-EreplaceDataRegEx( $search_cond, $replace_cond, $reflags ); + $text = XML::LibXML::Text->new( $content ); + $nodedata = $text->data; + $text->setData( $text_content ); + $text->substringData($offset, $length); + $text->appendData( $somedata ); + $text->insertData($offset, $string); + $text->deleteData($offset, $length); + $text->deleteDataString($remstring, $all); + $text->replaceData($offset, $length, $string); + $text->replaceDataString($old, $new, $flag); + $text->replaceDataRegEx( $search_cond, $replace_cond, $reflags ); =head1 DESCRIPTION @@ -40,14 +40,14 @@ =item new - $text = XML::LibXML::Text-Enew( $content ); + $text = XML::LibXML::Text->new( $content ); The constructor of the class. It creates an unbound text node. =item data - $nodedata = $text-Edata; + $nodedata = $text->data; Although there exists the C<<<<<< nodeValue >>>>>> attribute in the Node class, the DOM specification defines data as a separate attribute. C<<<<<< XML::LibXML >>>>>> implements these two attributes not as different attributes, but as aliases, @@ -68,7 +68,7 @@ =item setData($string) - $text-EsetData( $text_content ); + $text->setData( $text_content ); This function sets or replaces text content to a node. The node has to be of the type "text", "cdata" or "comment". @@ -76,7 +76,7 @@ =item substringData($offset,$length) - $text-EsubstringData($offset, $length); + $text->substringData($offset, $length); Extracts a range of data from the node. (DOM Spec) This function takes the two parameters $offset and $length and returns the sub-string, if available. @@ -87,7 +87,7 @@ =item appendData($string) - $text-EappendData( $somedata ); + $text->appendData( $somedata ); Appends a string to the end of the existing data. If the current text node contains no data, this function has the same effect as C<<<<<< setData >>>>>>. @@ -95,7 +95,7 @@ =item insertData($offset,$string) - $text-EinsertData($offset, $string); + $text->insertData($offset, $string); Inserts the parameter $string at the given $offset of the existing data of the node. This operation will not remove existing data, but change the order of the @@ -106,7 +106,7 @@ =item deleteData($offset, $length) - $text-EdeleteData($offset, $length); + $text->deleteData($offset, $length); This method removes a chunk from the existing node data at the given offset. The $length parameter tells, how many characters should be removed from the @@ -115,7 +115,7 @@ =item deleteDataString($string, [$all]) - $text-EdeleteDataString($remstring, $all); + $text->deleteDataString($remstring, $all); This method removes a chunk from the existing node data. Since the DOM spec is quite unhandy if you already know C<<<<<< which >>>>>> string to remove from a text node, this method allows more perlish code :) @@ -125,14 +125,14 @@ =item replaceData($offset, $length, $string) - $text-EreplaceData($offset, $length, $string); + $text->replaceData($offset, $length, $string); The DOM style version to replace node data. =item replaceDataString($oldstring, $newstring, [$all]) - $text-EreplaceDataString($old, $new, $flag); + $text->replaceDataString($old, $new, $flag); The more programmer friendly version of replaceData() :) @@ -141,7 +141,7 @@ =item replaceDataRegEx( $search_cond, $replace_cond, $reflags ) - $text-EreplaceDataRegEx( $search_cond, $replace_cond, $reflags ); + $text->replaceDataRegEx( $search_cond, $replace_cond, $reflags ); This method replaces the node's data by a C<<<<<< simple >>>>>> regular expression. Optional, this function allows one to pass some flags that will be added as flag to the replace statement. @@ -170,7 +170,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathContext.pm libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathContext.pm --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathContext.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathContext.pm 2019-02-10 14:52:09.000000000 +0000 @@ -17,7 +17,7 @@ use XML::LibXML; use XML::LibXML::NodeList; -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE # should LibXML XPath data types be used for simple objects # when passing parameters to extension functions (default: no) diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathContext.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathContext.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathContext.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathContext.pod 2019-02-10 14:56:01.000000000 +0000 @@ -4,34 +4,34 @@ =head1 SYNOPSIS - my $xpc = XML::LibXML::XPathContext-Enew(); - my $xpc = XML::LibXML::XPathContext-Enew($node); - $xpc-EregisterNs($prefix, $namespace_uri) - $xpc-EunregisterNs($prefix) - $uri = $xpc-ElookupNs($prefix) - $xpc-EregisterVarLookupFunc($callback, $data) - $data = $xpc-EgetVarLookupData(); - $callback = $xpc-EgetVarLookupFunc(); - $xpc-EunregisterVarLookupFunc($name); - $xpc-EregisterFunctionNS($name, $uri, $callback) - $xpc-EunregisterFunctionNS($name, $uri) - $xpc-EregisterFunction($name, $callback) - $xpc-EunregisterFunction($name) - @nodes = $xpc-Efindnodes($xpath) - @nodes = $xpc-Efindnodes($xpath, $context_node ) - $nodelist = $xpc-Efindnodes($xpath, $context_node ) - $object = $xpc-Efind($xpath ) - $object = $xpc-Efind($xpath, $context_node ) - $value = $xpc-Efindvalue($xpath ) - $value = $xpc-Efindvalue($xpath, $context_node ) - $bool = $xpc-Eexists( $xpath_expression, $context_node ); - $xpc-EsetContextNode($node) - my $node = $xpc-EgetContextNode; - $xpc-EsetContextPosition($position) - my $position = $xpc-EgetContextPosition; - $xpc-EsetContextSize($size) - my $size = $xpc-EgetContextSize; - $xpc-EsetContextNode($node) + my $xpc = XML::LibXML::XPathContext->new(); + my $xpc = XML::LibXML::XPathContext->new($node); + $xpc->registerNs($prefix, $namespace_uri) + $xpc->unregisterNs($prefix) + $uri = $xpc->lookupNs($prefix) + $xpc->registerVarLookupFunc($callback, $data) + $data = $xpc->getVarLookupData(); + $callback = $xpc->getVarLookupFunc(); + $xpc->unregisterVarLookupFunc($name); + $xpc->registerFunctionNS($name, $uri, $callback) + $xpc->unregisterFunctionNS($name, $uri) + $xpc->registerFunction($name, $callback) + $xpc->unregisterFunction($name) + @nodes = $xpc->findnodes($xpath) + @nodes = $xpc->findnodes($xpath, $context_node ) + $nodelist = $xpc->findnodes($xpath, $context_node ) + $object = $xpc->find($xpath ) + $object = $xpc->find($xpath, $context_node ) + $value = $xpc->findvalue($xpath ) + $value = $xpc->findvalue($xpath, $context_node ) + $bool = $xpc->exists( $xpath_expression, $context_node ); + $xpc->setContextNode($node) + my $node = $xpc->getContextNode; + $xpc->setContextPosition($position) + my $position = $xpc->getContextPosition; + $xpc->setContextSize($size) + my $size = $xpc->getContextSize; + $xpc->setContextNode($node) =head1 DESCRIPTION @@ -109,39 +109,39 @@ =item new - my $xpc = XML::LibXML::XPathContext-Enew(); + my $xpc = XML::LibXML::XPathContext->new(); Creates a new XML::LibXML::XPathContext object without a context node. - my $xpc = XML::LibXML::XPathContext-Enew($node); + my $xpc = XML::LibXML::XPathContext->new($node); Creates a new XML::LibXML::XPathContext object with the context node set to C<<<<<< $node >>>>>>. =item registerNs - $xpc-EregisterNs($prefix, $namespace_uri) + $xpc->registerNs($prefix, $namespace_uri) Registers namespace C<<<<<< $prefix >>>>>> to C<<<<<< $namespace_uri >>>>>>. =item unregisterNs - $xpc-EunregisterNs($prefix) + $xpc->unregisterNs($prefix) Unregisters namespace C<<<<<< $prefix >>>>>>. =item lookupNs - $uri = $xpc-ElookupNs($prefix) + $uri = $xpc->lookupNs($prefix) Returns namespace URI registered with C<<<<<< $prefix >>>>>>. If C<<<<<< $prefix >>>>>> is not registered to any namespace URI returns C<<<<<< undef >>>>>>. =item registerVarLookupFunc - $xpc-EregisterVarLookupFunc($callback, $data) + $xpc->registerVarLookupFunc($callback, $data) Registers variable lookup function C<<<<<< $prefix >>>>>>. The registered function is executed by the XPath engine each time an XPath variable is evaluated. It takes three arguments: C<<<<<< $data >>>>>>, variable name, and variable ns-URI and must return one value: a number or @@ -152,7 +152,7 @@ =item getVarLookupData - $data = $xpc-EgetVarLookupData(); + $data = $xpc->getVarLookupData(); Returns the data that have been associated with a variable lookup function during a previous call to C<<<<<< registerVarLookupFunc >>>>>>. @@ -160,21 +160,21 @@ =item getVarLookupFunc - $callback = $xpc-EgetVarLookupFunc(); + $callback = $xpc->getVarLookupFunc(); Returns the variable lookup function previously registered with C<<<<<< registerVarLookupFunc >>>>>>. =item unregisterVarLookupFunc - $xpc-EunregisterVarLookupFunc($name); + $xpc->unregisterVarLookupFunc($name); Unregisters variable lookup function and the associated lookup data. =item registerFunctionNS - $xpc-EregisterFunctionNS($name, $uri, $callback) + $xpc->registerFunctionNS($name, $uri, $callback) Registers an extension function C<<<<<< $name >>>>>> in C<<<<<< $uri >>>>>> namespace. C<<<<<< $callback >>>>>> must be a CODE reference. The arguments of the callback function are either simple scalars or C<<<<<< XML::LibXML::* >>>>>> objects depending on the XPath argument types. The function is responsible for @@ -187,32 +187,32 @@ =item unregisterFunctionNS - $xpc-EunregisterFunctionNS($name, $uri) + $xpc->unregisterFunctionNS($name, $uri) Unregisters extension function C<<<<<< $name >>>>>> in C<<<<<< $uri >>>>>> namespace. Has the same effect as passing C<<<<<< undef >>>>>> as C<<<<<< $callback >>>>>> to registerFunctionNS. =item registerFunction - $xpc-EregisterFunction($name, $callback) + $xpc->registerFunction($name, $callback) Same as C<<<<<< registerFunctionNS >>>>>> but without a namespace. =item unregisterFunction - $xpc-EunregisterFunction($name) + $xpc->unregisterFunction($name) Same as C<<<<<< unregisterFunctionNS >>>>>> but without a namespace. =item findnodes - @nodes = $xpc-Efindnodes($xpath) + @nodes = $xpc->findnodes($xpath) - @nodes = $xpc-Efindnodes($xpath, $context_node ) + @nodes = $xpc->findnodes($xpath, $context_node ) - $nodelist = $xpc-Efindnodes($xpath, $context_node ) + $nodelist = $xpc->findnodes($xpath, $context_node ) Performs the xpath statement on the current node and returns the result as an array. In scalar context, returns an L<<<<<< XML::LibXML::NodeList >>>>>> object. Optionally, a node may be passed as a second argument to set the @@ -223,9 +223,9 @@ =item find - $object = $xpc-Efind($xpath ) + $object = $xpc->find($xpath ) - $object = $xpc-Efind($xpath, $context_node ) + $object = $xpc->find($xpath, $context_node ) Performs the xpath expression using the current node as the context of the expression, and returns the result depending on what type of result the XPath @@ -238,9 +238,9 @@ =item findvalue - $value = $xpc-Efindvalue($xpath ) + $value = $xpc->findvalue($xpath ) - $value = $xpc-Efindvalue($xpath, $context_node ) + $value = $xpc->findvalue($xpath, $context_node ) Is exactly equivalent to: @@ -259,7 +259,7 @@ =item exists - $bool = $xpc-Eexists( $xpath_expression, $context_node ); + $bool = $xpc->exists( $xpath_expression, $context_node ); This method behaves like I<<<<<< findnodes >>>>>>, except that it only returns a boolean value (1 if the expression matches a node, 0 otherwise) and may be faster than I<<<<<< findnodes >>>>>>, because the XPath evaluation may stop early on the first match (this is true @@ -271,21 +271,21 @@ =item setContextNode - $xpc-EsetContextNode($node) + $xpc->setContextNode($node) Set the current context node. =item getContextNode - my $node = $xpc-EgetContextNode; + my $node = $xpc->getContextNode; Get the current context node. =item setContextPosition - $xpc-EsetContextPosition($position) + $xpc->setContextPosition($position) Set the current context position. By default, this value is -1 (and evaluating XPath function C<<<<<< position() >>>>>> in the initial context raises an XPath error), but can be set to any value up @@ -296,14 +296,14 @@ =item getContextPosition - my $position = $xpc-EgetContextPosition; + my $position = $xpc->getContextPosition; Get the current context position. =item setContextSize - $xpc-EsetContextSize($size) + $xpc->setContextSize($size) Set the current context size. By default, this value is -1 (and evaluating XPath function C<<<<<< last() >>>>>> in the initial context raises an XPath error), but can be set to any @@ -316,14 +316,14 @@ =item getContextSize - my $size = $xpc-EgetContextSize; + my $size = $xpc->getContextSize; Get the current context size. =item setContextNode - $xpc-EsetContextNode($node) + $xpc->setContextNode($node) Set the current context node. @@ -362,7 +362,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathExpression.pod libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathExpression.pod --- libxml-libxml-perl-2.0133+dfsg/lib/XML/LibXML/XPathExpression.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/lib/XML/LibXML/XPathExpression.pod 2019-02-10 14:56:01.000000000 +0000 @@ -21,7 +21,7 @@ my @nodes = $xpc->findnodes($compiled_xpath,$node); my $value = $xpc->findvalue($compiled_xpath,$node); - $compiled = XML::LibXML::XPathExpression-Enew( xpath_string ); + $compiled = XML::LibXML::XPathExpression->new( xpath_string ); =head1 DESCRIPTION @@ -33,7 +33,7 @@ =item new() - $compiled = XML::LibXML::XPathExpression-Enew( xpath_string ); + $compiled = XML::LibXML::XPathExpression->new( xpath_string ); The constructor takes an XPath 1.0 expression as a string and returns an object representing the pre-compiled expressions (the actual data structure is @@ -52,7 +52,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/LibXML.pm libxml-libxml-perl-2.0134+dfsg/LibXML.pm --- libxml-libxml-perl-2.0133+dfsg/LibXML.pm 2019-02-02 11:07:02.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/LibXML.pm 2019-02-10 14:52:09.000000000 +0000 @@ -29,7 +29,7 @@ use IO::Handle; # for FH reads called as methods BEGIN { -$VERSION = "2.0133"; # VERSION TEMPLATE: DO NOT CHANGE +$VERSION = "2.0134"; # VERSION TEMPLATE: DO NOT CHANGE $ABI_VERSION = 2; require Exporter; require DynaLoader; diff -Nru libxml-libxml-perl-2.0133+dfsg/LibXML.pod libxml-libxml-perl-2.0134+dfsg/LibXML.pod --- libxml-libxml-perl-2.0133+dfsg/LibXML.pod 2019-02-02 11:07:58.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/LibXML.pod 2019-02-10 14:56:01.000000000 +0000 @@ -14,8 +14,8 @@ $Version_String = XML::LibXML::LIBXML_DOTTED_VERSION; $Version_ID = XML::LibXML::LIBXML_VERSION; $DLL_Version = XML::LibXML::LIBXML_RUNTIME_VERSION; - $libxmlnode = XML::LibXML-Eimport_GDOME( $node, $deep ); - $gdomenode = XML::LibXML-Eexport_GDOME( $node, $deep ); + $libxmlnode = XML::LibXML->import_GDOME( $node, $deep ); + $gdomenode = XML::LibXML->export_GDOME( $node, $deep ); =head1 DESCRIPTION @@ -470,14 +470,14 @@ =item import_GDOME - $libxmlnode = XML::LibXML-Eimport_GDOME( $node, $deep ); + $libxmlnode = XML::LibXML->import_GDOME( $node, $deep ); This clones an XML::GDOME node to an XML::LibXML node explicitly. =item export_GDOME - $gdomenode = XML::LibXML-Eexport_GDOME( $node, $deep ); + $gdomenode = XML::LibXML->export_GDOME( $node, $deep ); Allows one to clone an XML::LibXML node into an XML::GDOME node. @@ -505,7 +505,7 @@ =head1 VERSION -2.0133 +2.0134 =head1 COPYRIGHT diff -Nru libxml-libxml-perl-2.0133+dfsg/META.json libxml-libxml-perl-2.0134+dfsg/META.json --- libxml-libxml-perl-2.0133+dfsg/META.json 2019-02-02 11:10:34.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/META.json 2019-02-10 15:02:17.000000000 +0000 @@ -70,6 +70,6 @@ "url" : "https://github.com/shlomif/perl-XML-LibXML" } }, - "version" : "2.0133", + "version" : "2.0134", "x_serialization_backend" : "JSON::PP version 2.97001" } diff -Nru libxml-libxml-perl-2.0133+dfsg/META.yml libxml-libxml-perl-2.0134+dfsg/META.yml --- libxml-libxml-perl-2.0133+dfsg/META.yml 2019-02-02 11:10:34.000000000 +0000 +++ libxml-libxml-perl-2.0134+dfsg/META.yml 2019-02-10 15:02:17.000000000 +0000 @@ -48,5 +48,5 @@ resources: homepage: https://github.com/shlomif/perl-XML-LibXML repository: https://github.com/shlomif/perl-XML-LibXML -version: '2.0133' +version: '2.0134' x_serialization_backend: 'CPAN::Meta::YAML version 0.018'