Sha256: 46155dd94505be259d5c7ecb3cabc1064c7f26f3ad4630258b2b49fe9e5e2dd0

Contents?: true

Size: 763 Bytes

Versions: 45

Compression:

Stored size: 763 Bytes

Contents

require(__dirname).test({
  xml :
  "<root>"+
    "<child>" +
      "<haha />" +
    "</child>" +
    "<monkey>" +
      "=(|)" +
    "</monkey>" +
  "</root>",
  expect : [
    ["opentag", {
     "name": "root",
     "attributes": {},
     "isSelfClosing": false
    }],
    ["opentag", {
     "name": "child",
     "attributes": {},
     "isSelfClosing": false
    }],
    ["opentag", {
     "name": "haha",
     "attributes": {},
     "isSelfClosing": true
    }],
    ["closetag", "haha"],
    ["closetag", "child"],
    ["opentag", {
     "name": "monkey",
     "attributes": {},
     "isSelfClosing": false
    }],
    ["text", "=(|)"],
    ["closetag", "monkey"],
    ["closetag", "root"],
    ["end"],
    ["ready"]
  ],
  strict : true,
  opt : {}
});

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
ela-4.1.6 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.5 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.4 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.3 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.2 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.1 node_modules/sax/test/self-closing-child-strict.js
ela-4.1.0 node_modules/sax/test/self-closing-child-strict.js
ela-4.0.0 node_modules/sax/test/self-closing-child-strict.js
ela-3.4.3 node_modules/sax/test/self-closing-child-strict.js
ela-3.4.2 node_modules/sax/test/self-closing-child-strict.js
ela-3.4.0 node_modules/sax/test/self-closing-child-strict.js
ela-3.3.1 node_modules/sax/test/self-closing-child-strict.js
ela-3.3.0 node_modules/sax/test/self-closing-child-strict.js
ela-3.2.0 node_modules/sax/test/self-closing-child-strict.js
ela-3.1.1 node_modules/sax/test/self-closing-child-strict.js
ela-3.1.0 node_modules/sax/test/self-closing-child-strict.js
ela-3.0.0 node_modules/sax/test/self-closing-child-strict.js
ela-2.0.0 node_modules/sax/test/self-closing-child-strict.js
ela-1.1.0 node_modules/sax/test/self-closing-child-strict.js
stylus-source-0.54.5 vendor/node_modules/sax/test/self-closing-child-strict.js