1.1 --- a/tests/namespaces3.py Sun Feb 27 18:32:58 2011 +0100
1.2 +++ b/tests/namespaces3.py Sun Feb 27 18:55:07 2011 +0100
1.3 @@ -16,11 +16,17 @@
1.4 e3.setAttributeNS("DAV:", "fgh", "ijk")
1.5 e3.setAttributeNS(None, "nop", "wxy")
1.6
1.7 +print "Creating libxml2dom document..."
1.8 +print
1.9 +
1.10 document = libxml2dom.createDocument(None, "doc", None)
1.11 e = document.xpath("*")[0]
1.12 test(document, e)
1.13 print document.toString(prettyprint=1)
1.14
1.15 +print "Creating minidom document..."
1.16 +print
1.17 +
1.18 document = xml.dom.minidom.getDOMImplementation().createDocument(None, "doc", None)
1.19 e = document.documentElement
1.20 test(document, e)
1.21 @@ -34,6 +40,10 @@
1.22
1.23 try:
1.24 import pxdom
1.25 +
1.26 + print "Creating pxdom document..."
1.27 + print
1.28 +
1.29 document = pxdom.getDOMImplementation("").createDocument(None, "doc", None)
1.30 e = document.documentElement
1.31 test(document, e)