[libxml-libxml-debugging-perl] 11/36: Make xmlns="" into "xmlns in the XML namespace".
Jonas Smedegaard
dr at jones.dk
Tue Aug 4 16:35:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libxml-libxml-debugging-perl.
commit 7aa6de824314d7f84145d0b027563fde3d30717b
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Sat Nov 26 13:23:12 2011 +0000
Make xmlns="" into "xmlns in the XML namespace".
--HG--
branch : XML-LibXML-Debugging
---
lib/XML/LibXML/Debugging.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/XML/LibXML/Debugging.pm b/lib/XML/LibXML/Debugging.pm
index 3f99222..ba54d03 100644
--- a/lib/XML/LibXML/Debugging.pm
+++ b/lib/XML/LibXML/Debugging.pm
@@ -145,7 +145,7 @@ sub XML::LibXML::Attr::toDebuggingHash
if ($n->nodeType == XML_NAMESPACE_DECL)
{
return {
- 'type' => 'Attribute (XMLNS)',
+ 'type' => 'Namespace Declaration',
'qname' => $n->nodeName,
'prefix' => $n->prefix,
'suffix' => $n->getLocalName,
@@ -175,7 +175,7 @@ sub XML::LibXML::Attr::toClarkML
return sprintf("{%s}%s=\"%s\"",
$n->getNamespaceURI, $n->getLocalName, $n->getData);
}
- return sprintf("{%s}XMLNS=\"%s\"",
+ return sprintf("{%s}xmlns=\"%s\"",
$n->getNamespaceURI, $n->getData);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-libxml-debugging-perl.git
More information about the Pkg-perl-cvs-commits
mailing list