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.
|