Package: libxml-libxml-perl
Version: 1.69.ds-1
Severity: minor
Tags: patch

The error message given in a particular instance (I don't specifically
recall what; I believe it had to do with failing to use the string
'xmlns:' in the name of an xmlns attribute. In any case, the typo is
clear in the source code; a patch, made with quilt, is attached which
fixes it.

Adam Buchbinder
Description: Fix a typo in an error message.
Author: Adam Buchbinder <adam.buchbin...@gmail.com>

--- a/LibXML.pm
+++ b/LibXML.pm
@@ -1254,7 +1254,7 @@
   }
   if (defined($nsURI) and $nsURI eq XML_XMLNS_NS) {
     if ($qname !~ /^xmlns(?::|$)/) {
-      croak("NAMESPACE ERROR: Namespace declartions must have the prefix 'xmlns'");
+      croak("NAMESPACE ERROR: Namespace declarations must have the prefix 'xmlns'");
     }
     $self->setAttribute($qname,$value); # see implementation above
     return;

Reply via email to