UTF8 cleaner for borked XML

UTF8 cleaner for borked XML

by Dennis Daniels -
Number of replies: 1
Greetings
I'm struggling to get some courses backed up with endless XML errors. The xml files are huge and kill Firefox. I've run the XML files through notepad++ XML file cleaner with no errors found...
anyone have a suggestion?

many thanks!
Dennis
Average of ratings: -
In reply to Dennis Daniels

Re: UTF8 cleaner for borked XML

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Dennis,

I've found this and, after some quick tests it seems to clean XML from control characters like a charm (although more testing is needed).

http://confluence.atlassian.com/x/Ly8

(just follow the 3 points at the bottom of the page with your moodle.xml file)

Hope this helps, ciao smile

P.S.: Some reference to it in docs.moodle.org http://docs.moodle.org/en/Backup_FAQ perhaps would be nice if it works properly.