Sha256: 107e99c8f3a6980cc1e714156e03545550d59c08f22ff4fd0fd1811c4dbfb1a3

Contents?: true

Size: 611 Bytes

Versions: 45

Compression:

Stored size: 611 Bytes

Contents

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: {}, isSelfClosing: true } ]
    , [ "closetag", "root" ]
    ]
  }
).write("<root unbound:attr='value'/>")

Version data entries

45 entries across 45 versions & 3 rubygems

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