Skip to content
  • This project
    • Loading...
  • Sign in

Manish Mihsra / flexydial

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • flexydial
  • ..
  • test
  • xmlns-xml-default-prefix.js
  • Manish Mihsra's avatar
    Initial · cbb78e22
    Manish Mihsra committed 2018-06-06 09:14:53 +0000
    cbb78e22 Browse Files
xmlns-xml-default-prefix.js 363 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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: {}
        }
      ]
    , ["closetag", "xml:root"]
    ]
  , strict : true
  , opt : { xmlns: true }
  }
)