[go: up one dir, main page]

xmlparser 0.4.1

Pull-based, zero-allocation XML parser.
Documentation
{"tests": [

{"description": "Empty",
"input": "",
"output":[
]},

{"description": "Only whitespaces 1",
"input": "    ",
"output":[
]},

{"description": "Only whitespaces 2",
"input": " \n\t\r ",
"output":[
]},

{"description": "Only whitespaces 3",
"input": " ",
"output":[
]},

{"description": "Unexpected CDATA",
"input": "<![CDATA[text]]>",
"output":[
    { "Error" : "unexpected token 'CDATA' at 1:1" }
]},

{"description": "Fuzz 1",
"input": " &www---------ำค+----------w-----www_",
"output":[
    { "Error" : "unknown token at 1:2" }
]},

{"description": "Unexpected char",
"input": "q",
"output":[
    { "Error" : "unknown token at 1:1" }
]}

]}