Open
Description
- Are you running the latest version?
- Have you included sample input, output, error, and expected output?
- Have you checked if you are using correct configuration?
- Did you try online tool?
Description
Input
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<pic:pic>
</pic:pic>
</w:document>
Code
const fastXmlParser = require("fast-xml-parser");
const result = fastXmlParser.validate(str);
// result is true, but I expect it to be an error object.
Expected behavior
I would expect to see an error telling that the "pic" namespace was not defined in the document.
This is what is shown when using : https://xmlvalidation.com/
Would you like to work on this issue?
- Yes, if you tell me that you're ok for it to be done and if you help me locate the changes to be done
- No