wallet-core/node_modules/sax/test/cdata.js
2016-11-03 01:33:53 +01:00

11 lines
309 B
JavaScript

require(__dirname).test({
xml : "<r><![CDATA[ this is character data  ]]></r>",
expect : [
["opentag", {"name": "R","attributes": {}, "isSelfClosing": false}],
["opencdata", undefined],
["cdata", " this is character data  "],
["closecdata", undefined],
["closetag", "R"]
]
});