UNPKG
sax
Version:
false (0.4.0)
latest (1.6.0)
1.6.0
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.6.1
0.6.0
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
An evented streaming XML parser in JavaScript
github.com/isaacs/sax-js
isaacs/sax-js
sax
/
test
/
stand-alone-comment.js
12 lines
(9 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// https://github.com/isaacs/sax-js/issues/124 require(__dirname).test ( { xml : "
<!-- stand alone comment -->
" , expect : [ [ "comment", " stand alone comment " ] ] , strict : true , opt : {} } )