However, before an XML document can be accessed, it must be loaded into an XML DOM object. Then, I exported the questions in Moodle XML format, and when I imported them into another course I did not get the parse error anymore - all the questions imported correctly.įYI, I'm on Moodle 2.0.4, but I'm pretty sure this same process will work for a 1.9-to-1.9 export/import migration. The XML DOM (Document Object Model) defines the properties and methods for accessing and editing XML. You can validate your XML locally using an XML editor such as Oxygen or XMLSpy, or command line tools such as xmllint. To fix it, I simply edited the question in Moodle, found the place where the apostrophe should be (and it wasn't rendering correctly in Moodle either), deleted the incorrect symbol and typed in an actual apostrophe manually. It appears that XML Tools has v2.4.11.0 released.Does that newer version fix the issue If not, does the issue exist in the XML Tools’s open or closed issues If not, you might want to add it.
I'm not the original poster, but I just wanted to say thank you - I ran into the same error while trying to help a faculty member and it was quite frustrating. XML in Pretty Print Format XSD Validation and Error List XSLT Transformation and HTML View XML Tools Plugin for Notepad++ What Is XML Tools Plugin for.