• This project
    • Loading...
  • Sign in

조인천 / Youtube_MPL

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Youtube_MPL
  • nodejs-todo-list-master
  • node_modules
  • sax
  • test
  • xmlns-xml-default-prefix.js
  • kimkyeonghun's avatar
    ver2 · c2026908
    c2026908
    kimkyeonghun authored 2019-05-29 20:06:36 +0900
xmlns-xml-default-prefix.js 393 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 21
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: {}
        , isSelfClosing: true
        }
      ]
    , ["closetag", "xml:root"]
    ]
  , strict : true
  , opt : { xmlns: true }
  }
)