* [x] Are you running the latest version? * [x] Have you include sample input? * [x] Have you include actual output? * [x] Have you include expected output? * [x] Have you checked if you are using correct configuration? * [x] Did you try online [tool](https://naturalintelligence.github.io/fast-xml-parser/)? * [x] Did you [bookmarked](https://github.com/NaturalIntelligence/fast-xml-parser/stargazers) the repository for further updates? ;) ### Input data ```js require('fast-xml-parser').validate(`<?xml version="1.0"?><?mso-contentType?><h1></h1>`) ``` ### Output data ``` { err: { code: 'InvalidXml', msg: 'XML declaration allowed only at the start of the document.' } } ``` ### expected data true
Input data
Output data
expected data
true