CB-12621: reverted elementtree dep to 0.1.6

This commit is contained in:
Steve Gill
2017-04-02 17:11:17 -05:00
parent 8a2e96d995
commit 4a0f69a3f0
53 changed files with 12331 additions and 1955 deletions
+15
View File
@@ -0,0 +1,15 @@
require(__dirname).test(
{ strict : true
, opt : { xmlns: true }
, expect :
[ ["error", "Unbound namespace prefix: \"unbound\"\nLine: 0\nColumn: 28\nChar: >"]
, [ "attribute", { name: "unbound:attr", value: "value", uri: "unbound", prefix: "unbound", local: "attr" } ]
, [ "opentag", { name: "root", uri: "", prefix: "", local: "root",
attributes: { "unbound:attr": { name: "unbound:attr", value: "value", uri: "unbound", prefix: "unbound", local: "attr" } },
ns: {} } ]
, [ "closetag", "root" ]
]
}
).write("<root unbound:attr='value'/>")