And finally...
While Word can be simple to use, it is a complex editing environment that is inserting hidden codes all the time you are editing a document. Once a document has been edited a number of times, often quite dense (and hidden) patterns of formatting changes can build up.
If you have problems, start by turning on visible formatting marks, then remove formatting such as bold, italic, tables and lists and re-apply it cleanly.
Wimba Create tests for well-formed XML when you generate a course, and if there are problems you will see an error message indicating the source of the problem. The line numbers refer to the exported XML file, not the Word document, and the easiest way to track down the problem is usually to copy the problem text then do a search on it in the Word document.