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?
Description
Input
Code
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?