The big problem I am having is when users copy things straight from WORD into fields, causing the xml I am generating to be invalid. I have found a multitude of different approaches to this problem, but what would be considered the grooviest way of removing these invalid characters, whether they come from WORD or not, from my xml?
Share
I wrote a Java class (7 years ago now, looking at the timestamp) with a single static method to try and clean up text posted from Word.
It’s here if you’re interested: