wallet-core/node_modules/sax/test/cdata-multiple.js

16 lines
462 B
JavaScript
Raw Normal View History

2016-11-03 01:33:53 +01:00
require(__dirname).test({
expect : [
["opentag", {"name": "R","attributes": {}, "isSelfClosing": false}],
["opencdata", undefined],
["cdata", " this is "],
["closecdata", undefined],
["opencdata", undefined],
["cdata", "character data  "],
["closecdata", undefined],
["closetag", "R"]
]
}).write("<r><![CDATA[ this is ]]>").write("<![CDA").write("T").write("A[")
.write("character data  ").write("]]></r>").close();