Comparing version 0.1.26 to 0.1.27
16
dom.js
@@ -1006,5 +1006,7 @@ /* | ||
if (needNamespaceDefine(attr,isHTML, visibleNamespaces)) { | ||
var ns = attr.prefix ? ' xmlns:' + attr.prefix : " xmlns"; | ||
buf.push(ns, '="' , attr.namespaceURI , '"'); | ||
visibleNamespaces.push({ prefix: attr.prefix, namespace: attr.namespaceURI }); | ||
var prefix = attr.prefix||''; | ||
var uri = attr.namespaceURI; | ||
var ns = prefix ? ' xmlns:' + prefix : " xmlns"; | ||
buf.push(ns, '="' , uri , '"'); | ||
visibleNamespaces.push({ prefix: prefix, namespace:uri }); | ||
} | ||
@@ -1015,5 +1017,7 @@ serializeToString(attr,buf,isHTML,nodeFilter,visibleNamespaces); | ||
if (needNamespaceDefine(node,isHTML, visibleNamespaces)) { | ||
var ns = node.prefix ? ' xmlns:' + node.prefix : " xmlns"; | ||
buf.push(ns, '="' , node.namespaceURI , '"'); | ||
visibleNamespaces.push({ prefix: node.prefix, namespace: node.namespaceURI }); | ||
var prefix = node.prefix||''; | ||
var uri = node.namespaceURI; | ||
var ns = prefix ? ' xmlns:' + prefix : " xmlns"; | ||
buf.push(ns, '="' , uri , '"'); | ||
visibleNamespaces.push({ prefix: prefix, namespace:uri }); | ||
} | ||
@@ -1020,0 +1024,0 @@ |
{ | ||
"name": "xmldom", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).", | ||
@@ -5,0 +5,0 @@ "keywords": ["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71105
2043