-
-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Labels
Description
- Are you running the latest version?
- Have you include sample input?
- Have you include actual output?
- Have you include expected output?
- Have you checked if you are using correct configuration?
- Did you try online tool?
- Did you bookmarked the repository for further updates? ;)
Input data
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
Reactions are currently unavailable