One subsite in my SP environment, with xml-files stored. The crawl throws this error, 30k times,

Processing this item failed because of a xml parser error

I tried to do the steps from this guide , but it did not work for me.

I also have a small amount of word parser error and pdf parser errors.

Here is the whole error:

Processing this item faild because of a XML error. (Error parsing document http://mySPSite/mySubsite/myList/theNameOfTheXMLFile.xml. Invalid XML stream - line (6), position (19). ;; SearchID = number of the search id)

They all has the "line (6)" and the "position (19)".

What is the reason for those errors?

This is my crawllog, it recrawls even if it is incremental and full seems to have sucesfully ended. enter image description here

  • could you please put the complete error details. – Waqas Sarwar MVP Mar 23 '15 at 13:36
  • I have edited the whole error into the question. – emo Mar 23 '15 at 13:52
  • how much space you have on Index server, c: drive and index drive? Make sure you have plenty of space on drives – Waqas Sarwar MVP Mar 23 '15 at 13:57
  • Alot, 140gb on index, only 10-15 is filled, and 40-50 free on C. – emo Mar 23 '15 at 14:22
  • is your search service account and content search account is different than the farm admin account? – Waqas Sarwar MVP Mar 23 '15 at 15:12

I've had this too.

Check the xml file (use "download a copy"). At that position, do you have any non-english characters there? Perhaps in the XML node name?

In that case, install the March 2015 CU for SharePoint as it fixes this particular issue. Look at KB2956153 for the specific fix (though their description is a bit off as it only talks about the presence of an "encoding declaration" as being the error).

Hope it helps.

An alternative solution could be to use another XML iFilter than the standard one. Could be a hard road to take though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.