sakaicontrib / mneme-project

Etudes Mneme Tool and additional projects.
0 stars 6 forks source link

Export / Import fails with error: Attribute "xmlns" was already specified for element "manifest" #13

Closed austin48 closed 6 years ago

austin48 commented 6 years ago

Checking the tomcat logs there is an error:

[Fatal Error] :2:165: Attribute "xmlns" was already specified for element "manifest".

austin48 commented 6 years ago

I believe this is happening because ExportQtiServiceImpl.java line 188

root.setAttribute("xmlns", "http://www.imsglobal.org/xsd/imscp_v1p1");

In previous versions of mneme (2.1.36) that line was commented out, but it appears to be enabled in recent versions including 11.x and master. Unless there is another reason to enable that line, I suggest commenting it out again like it was in v2.1.36