r76810 - in /trunk/libxml-libxml-perl/debian: changelog patches/ patches/fix-spelling-errors.patch patches/series

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Thu Jun 30 14:26:50 UTC 2011


Author: ghedo-guest
Date: Thu Jun 30 14:26:41 2011
New Revision: 76810

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76810
Log:
Add fix-spelling-errors patch

Added:
    trunk/libxml-libxml-perl/debian/patches/
    trunk/libxml-libxml-perl/debian/patches/fix-spelling-errors.patch
    trunk/libxml-libxml-perl/debian/patches/series
Modified:
    trunk/libxml-libxml-perl/debian/changelog

Modified: trunk/libxml-libxml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/changelog?rev=76810&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/debian/changelog (original)
+++ trunk/libxml-libxml-perl/debian/changelog Thu Jun 30 14:26:41 2011
@@ -18,6 +18,7 @@
    * Drop fix_manpage_typos and fix_errmsg_typo patches (merged upstream)
    * Do not install README (contains only build and installation info)
    * Clean-up *.postinst and *.prerm
+   * Add fix-spelling-errors patch
 
  -- Alessandro Ghedini <al3xbio at gmail.com>  Thu, 30 Jun 2011 15:15:05 +0200
 

Added: trunk/libxml-libxml-perl/debian/patches/fix-spelling-errors.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/patches/fix-spelling-errors.patch?rev=76810&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/fix-spelling-errors.patch (added)
+++ trunk/libxml-libxml-perl/debian/patches/fix-spelling-errors.patch Thu Jun 30 14:26:41 2011
@@ -1,0 +1,134 @@
+Description: This patch fixes some spelling errors found by lintian.
+Origin: vendor
+Forwarded: no
+Author: Alessandro Ghedini <al3xbio at gmail.com>
+Last-Update: 2011-06-30
+
+--- a/lib/XML/LibXML/Document.pod
++++ b/lib/XML/LibXML/Document.pod
+@@ -180,7 +180,7 @@
+ 
+   $doc->setEncoding($new_encoding);
+ 
+-This method allows to change the declaration of encoding in the XML declaration
++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 document is
+ serialized to XML by $doc->toString(). Use setEncoding() to remove the encoding
+ declaration. 
+--- a/lib/XML/LibXML/InputCallback.pod
++++ b/lib/XML/LibXML/InputCallback.pod
+@@ -73,7 +73,7 @@
+ Callback groups are implemented as a stack (Array), each entry holds a
+ reference to an array of the callbacks. For the libxml2 library, the
+ XML::LibXML::InputCallback callback implementation appears as one single
+-callback group. The Perl implementation however allows to manage different
++callback group. The Perl implementation however allows one to manage different
+ callback stacks on a per libxml2-parser basis.
+ 
+ 
+--- a/lib/XML/LibXML/Parser.pod
++++ b/lib/XML/LibXML/Parser.pod
+@@ -222,7 +222,7 @@
+ =back
+ 
+ By default XML::LibXML does not process XInclude tags within a XML Document
+-(see options section below). XML::LibXML allows to post process a document to
++(see options section below). XML::LibXML allows one to post process a document to
+ expand XInclude tags.
+ 
+ =over 4
+@@ -621,7 +621,7 @@
+ errors. 
+ 
+ IMPORTANT: Due to limitations in the libxml2 library line numbers greater than
+-65535 will be returned as 65535. Unfortunatelly, this is a long and sad story,
++65535 will be returned as 65535. Unfortunately, this is a long and sad story,
+ please see L<<<<<< http://bugzilla.gnome.org/show_bug.cgi?id=325533 >>>>>> for more details. 
+ 
+ 
+--- a/lib/XML/LibXML/PI.pod
++++ b/lib/XML/LibXML/PI.pod
+@@ -56,7 +56,7 @@
+   $pinode->setData( $data_string );
+   $pinode->setData( name=>string_value [...] );
+ 
+-This method allows to change the content data of a PI. Additionally to the
++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
+ interface to set the data. This parameter list is converted into a string
+ before it is appended to the PI.
+--- a/lib/XML/LibXML/RelaxNG.pod
++++ b/lib/XML/LibXML/RelaxNG.pod
+@@ -36,11 +36,11 @@
+ a validation schema. It is important, that each schema only have a single
+ source.
+ 
+-The location parameter allows to parse a schema from the filesystem or a URL.
++The location parameter allows one to parse a schema from the filesystem or a URL.
+ 
+ The string parameter will parse the schema from the given XML string.
+ 
+-The DOM parameter allows to parse the schema from a pre-parsed L<<<<<< XML::LibXML::Document >>>>>>.
++The DOM parameter allows one to parse the schema from a pre-parsed L<<<<<< XML::LibXML::Document >>>>>>.
+ 
+ Note that the constructor will die() if the schema does not meed the
+ constraints of the RelaxNG specification.
+@@ -50,7 +50,7 @@
+ 
+   eval { $rngschema->validate( $doc ); };
+ 
+-This function allows to validate a (parsed) document against the given RelaxNG
++This function allows one to validate a (parsed) document against the given RelaxNG
+ schema. The argument of this function should be a XML::LibXML::Document object.
+ If this function succeeds, it will return 0, otherwise it will die() and report
+ the errors found. Because of this validate() should be always evaluated.
+--- a/lib/XML/LibXML/Schema.pod
++++ b/lib/XML/LibXML/Schema.pod
+@@ -35,7 +35,7 @@
+ a validation schema. It is important, that each schema only have a single
+ source.
+ 
+-The location parameter allows to parse a schema from the filesystem or a URL.
++The location parameter allows one to parse a schema from the filesystem or a URL.
+ 
+ The string parameter will parse the schema from the given XML string.
+ 
+@@ -47,7 +47,7 @@
+ 
+   eval { $xmlschema->validate( $doc ); };
+ 
+-This function allows to validate a (parsed) document against the given XML
++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()
+ and report the errors found. Because of this validate() should be always
+ evaluated.
+--- a/lib/XML/LibXML/Text.pod
++++ b/lib/XML/LibXML/Text.pod
+@@ -136,14 +136,14 @@
+ 
+ The more programmer friendly version of replaceData() :)
+ 
+-Instead of giving offsets and length one can specify the exact string (I<<<<<< $oldstring >>>>>>) to be replaced. Additionally the I<<<<<< $all >>>>>> flag allows to replace all occurrences of I<<<<<< $oldstring >>>>>>.
++Instead of giving offsets and length one can specify the exact string (I<<<<<< $oldstring >>>>>>) to be replaced. Additionally the I<<<<<< $all >>>>>> flag allows one to replace all occurrences of I<<<<<< $oldstring >>>>>>.
+ 
+ 
+ =item replaceDataRegEx( $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 to pass some flags that will
++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.
+ 
+ I<<<<<< NOTE: >>>>>> This is a shortcut for
+--- a/LibXML.pod
++++ b/LibXML.pod
+@@ -479,7 +479,7 @@
+ 
+   $gdomenode = XML::LibXML->export_GDOME( $node, $deep );
+ 
+-Allows to clone an XML::LibXML node into a XML::GDOME node.
++Allows one to clone an XML::LibXML node into a XML::GDOME node.
+ 
+ 
+ 

Added: trunk/libxml-libxml-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/patches/series?rev=76810&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/series (added)
+++ trunk/libxml-libxml-perl/debian/patches/series Thu Jun 30 14:26:41 2011
@@ -1,0 +1,1 @@
+fix-spelling-errors.patch




More information about the Pkg-perl-cvs-commits mailing list