Working on an XML parser, I see a lot of XML files using the xsi:schemaLocation attribute without declaring the xsi namespace.
Is it an error or is there a spec sta
No namespaces [other than the XML namespace] can be assumed to be known.
If a document contains an xsi
prefix, there should also be an associated namespace (which would normally be xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
).
If the namespace is not declared, the XML file is not valid.