This project is read-only.

"illegal qualified name character"/"missing semi-colon" (problem & solution)

Aug 15, 2012 at 2:25 PM

Posting this in case it's helpful to anyone else:

"illegal qualified name character" error when opening transfer form generated into .docx and also "missing semi-colon"

I got this problem when opening a file which had been created from information held in the database, but updated through the front-end. The information was saved to the database and then on-demand written out into the place markers in a template document.

It was down to the characters > < & being in the text and Word was trying to interpret them.

I worked around it by adding htmlentities() around the text I was writing to the word document - the document can now be opened!

Aug 16, 2012 at 6:08 AM

What about