We have a simple application using Groupdocs viewer library to show MS word .doc document in web application as html. During Performance Testing, we got error XMLStreamException ParseError, see screenshot in attachment. After we check, we found out in temp folder there’s fd.xml file, after we check the file, we found out the incorrect html tag that cause the error.
The problem is solved when we delete the temporary fd.xml file, and reload / open the document again in web app.
Our question is, what is causing this error? what is the solution?
Please advise, thanks.
Groupdocs doc viewer XML Parse Error.jpg (287.1 KB)
Groupdocs xml file in temp folder.jpg (148.8 KB)
Groupdocs incorrect tag ini html temp file.jpg (363.9 KB)
Hi Mii_Banking!
We’re sorry to hear that. The fd.xml file is used for the document caching purposes.
In order to found the reason and fix this issue we need more info about it, in particular.
- It seems that you’re using GroupDocvs.Viewer for Java, please tell the its exact version?
- It is very likely that this issue occurs not with any arbitrary MS Word DOC files, but with one or several specific. Can you please attach one of such files where the described exception occurs?
- The viewing settings are also very improtant, because the most likely the very specific combination of viewing options is the reason. So please can you share a piece of source code where you are creating and tuning the
HtmlViewOptions
and calling the Viewer.View(viewOptions)
method?
Thanks in advance!