I am trying to parse a XML file with multiple XML declarations.
<?xml version="1.0"?>
<Details xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.com/KDD/ID/1">
and I'm getting the following exception
the processing target matching "[xX][mM][lL]" is not allowed
My parser works perfectly if there is a single xml declaration. The XML file is very large and I cannot possibly go and remove all the tags. Is there any way to do this