From: Matthew B. <mat...@co...> - 2005-07-21 15:34:17
|
Peter Crowther wrote: >>From: [...] Matthew Buckett >> >>>Create a Web Document in a Suite of Rooms and upload the file >>>whose name you have put in the Introduction textarea. >>> >>>Now navigate to the Web Document. Now press Manage this >>>location followed by Modify this location. Now change something. >>>Press Modify Now. Reload the Web Document - nothing is >>>modified. >> >>Yep I see this too. When attempting to modify the resource I get: >> >>Problem with XML: Problem exporting XML file: Attribute "imsmd" was >>already specified for element "imsmd:record". >> >>I don't however get this Bug on WebLearn HEAD. I'll have a look as to >>what is going wrong. > > > Feels like it could be one of mine, from converting the metadata to be > namespace-aware. I'll see if I can take a look as well, but it's > unlikely to be today I'm afraid. It could be something as simple as me > having zoned out while altering some of the setAttribute calls and > getting the strings the wrong way round... if so, I score about 9.5 out > of 10 on the Bozometer. Just to aid your debugging this is the stack trace I get: 21 Jul 2005 16:24:15,964 ERROR org.bodington.servlet.facilities.Facility - Problem with XML: Problem exporting XML file: Attribute "imsmd" was already specified for element "imsmd:record". org.bodington.server.BuildingServerException: Problem with XML: Problem exporting XML file: Attribute "imsmd" was already specified for element "imsmd:record". at org.bodington.server.BuildingSessionImpl.updateBasicMetadata(BuildingSessionImpl.java:1849) at org.bodington.servlet.facilities.Facility.confirmmodify(Facility.java:7141) at org.bodington.servlet.facilities.Facility.insert(Facility.java:3522) at org.bodington.servlet.facilities.MediaDocumentFacility.insert(MediaDocumentFacility.java:149) And this is what I get in the temp files that the XML respository creates: <?xml version="1.0" encoding="UTF-8"?> <imsmd:record xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1" imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1" imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1"><imsmd:general><imsmd:title><imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> </imsmd:title> <imsmd:description><imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd23</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> </imsmd:description> </imsmd:general> </imsmd:record> -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |