1 | // https://github.com/isaacs/sax-js/issues/47
|
2 | require(__dirname).test
|
3 | ( { xml : '<a href="query.svc?x=1&y=2&z=3"/>'
|
4 | , expect : [
|
5 | [ "attribute", { name:'href', value:"query.svc?x=1&y=2&z=3"} ],
|
6 | [ "opentag", { name: "a", attributes: { href:"query.svc?x=1&y=2&z=3"} } ],
|
7 | [ "closetag", "a" ]
|
8 | ]
|
9 | , strict : true
|
10 | , opt : {}
|
11 | }
|
12 | )
|
13 |
|