0477e6fcfe
When the xml file is not a standard xml file, the `simplexml_load_string` will return false, this will cause an error on "$xml->getNamespaces(true);" . So instead of showing the error, we throw an exception. |
||
---|---|---|
.. | ||
XEETestInvalidSimpleXML.xml | ||
XEETestInvalidUTF-8.xml | ||
XEETestInvalidUTF-16.xml | ||
XEETestInvalidUTF-16BE.xml | ||
XEETestInvalidUTF-16LE.xml | ||
XEETestValidUTF-8.xml | ||
XEETestValidUTF-16.xml | ||
XEETestValidUTF-16BE.xml | ||
XEETestValidUTF-16LE.xml |