File: spelling.patch

package info (click to toggle)
libxml-smart-perl 1.78-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 792 kB
  • ctags: 270
  • sloc: perl: 3,644; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 1,105 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix two typos found by lintian
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: https://github.com/harishmadabushi/XML-Smart/pull/2/files

--- a/lib/XML/Smart.pm
+++ b/lib/XML/Smart.pm
@@ -1757,7 +1757,7 @@
 
 I<DTD> can be a source, file, GLOB or URL.
 
-This method is usefull if you need to have the XML generated by I<data()>
+This method is useful if you need to have the XML generated by I<data()>
 formated in a specific DTD, so, elements will be nodes automatically,
 attributes will be checked, required elements and attributes will be created,
 the element order will be set, etc...
@@ -1891,7 +1891,7 @@
 ** This is good when you want to keep 2 versions of the same XML tree in the memory,
 since one object can't change the tree of the other!
 
-B<WARNING:> set_node(), set_cdata() and set_binary() changes are not persistant over copy - 
+B<WARNING:> set_node(), set_cdata() and set_binary() changes are not persistent over copy - 
 Once you create a second copy these states are lost.
 
 b<warning:> do not copy after apply_dtd() unless you have checked for dtd errors.