XML documents should not redefine the xml prefix xml to anything but http://www.w3.org/XML/1998/namespace. Explicitly saying xmlns:xml="http://www.w3.org/XML/1998/namespace" is fine. The XHR parser option withCheckNamespaces causes the parser to fail if it explicitly declares the xml namespace prefix.
A very quick and rough workaround for this is to remove the explicit declaration:
XML documents should not redefine the xml prefix
xml
to anything buthttp://www.w3.org/XML/1998/namespace
. Explicitly sayingxmlns:xml="http://www.w3.org/XML/1998/namespace"
is fine. The XHR parser optionwithCheckNamespaces
causes the parser to fail if it explicitly declares thexml
namespace prefix.A very quick and rough workaround for this is to remove the explicit declaration: