wallet-core/node_modules/sax/test/xmlns-xml-default-prefix.js
2016-11-03 01:33:53 +01:00

22 lines
393 B
JavaScript

require(__dirname).test(
{ xml : "<xml:root/>"
, expect :
[
[ "opentag"
, { name: "xml:root"
, uri: "http://www.w3.org/XML/1998/namespace"
, prefix: "xml"
, local: "root"
, attributes: {}
, ns: {}
, isSelfClosing: true
}
]
, ["closetag", "xml:root"]
]
, strict : true
, opt : { xmlns: true }
}
)