title: Problem - XML declaration allowed only at the start of the document
body: <p>xml:19558: parser error : XML declaration allowed only at the start of the document</p>
  
  <p>any solutions? i am using php XMLReader to parse a large XML file, but getting this error. i know the file is not well formatted but i think its not possible to go through the file and remove these extra declarations. so any idea, PLEASE HELP</p>