Hi folks I've got a test repository that I'm checking for harvestability using the OAI Repository Explorer at http://re.cs.uct.ac.za/. I get an error for this (and any other repository I have access to)- see end of e-mail. It concerns the handle value assigned to amdSec and dmdSec ID and NCName.
I'm assuming this problem stops harvesting from taking place (especially as it's on GetRecord!). Everything else seems ok. As the URI is created on-the-fly, I'm unaware of what I can do to prevent this error; however the handle it's using is obviously one set up by default on dspace, and I have not gone to handle.net to set a 'real one'. Might that solve the problem? Or could it be because I am using /oai (which does exist as a webapp)/request and my syntax is not quite right? If anyone's seen it before and has any suggestions, I'd be very grateful. Thanks Scott (24) Testing : GetRecord (identifier, metadataPrefix) URL : http://image-projects-test.lib.ed.ac.uk/oai/request?verb=GetRecord&identifier=oai:repo-test.lib.ed.ac.uk:123456789/9&metadataPrefix=mets ------ Response from Xerces Schema Validation ------ [Error] re.DvZjvM:7:35: cvc-datatype-valid.1.2.1: 'DMD_hdl_123456789/9' is not a valid value for 'NCName'. [Error] re.DvZjvM:7:35: cvc-attribute.3: The value 'DMD_hdl_123456789/9' of attribute 'ID' on element 'dmdSec' is not valid with respect to its type, 'ID'. [Error] re.DvZjvM:23:66: cvc-complex-type.2.3: Element 'mods:relatedItem' cannot have character [children], because the type's content type is element-only. [Error] re.DvZjvM:23:66: cvc-complex-type.2.4.b: The content of element 'mods:relatedItem' is not complete. One of '{"http://www.loc.gov/mods/v3":titleInfo, "http://www.loc.gov/mods/v3":name, "http://www.loc.gov/mods/v3":typeOfResource, "http://www.loc.gov/mods/v3":genre, "http://www.loc.gov/mods/v3":originInfo, "http://www.loc.gov/mods/v3":language, "http://www.loc.gov/mods/v3":physicalDescription, "http://www.loc.gov/mods/v3":abstract, "http://www.loc.gov/mods/v3":tableOfContents, "http://www.loc.gov/mods/v3":targetAudience, "http://www.loc.gov/mods/v3":note, "http://www.loc.gov/mods/v3":subject, "http://www.loc.gov/mods/v3":classification, "http://www.loc.gov/mods/v3":relatedItem, "http://www.loc.gov/mods/v3":identifier, "http://www.loc.gov/mods/v3":location, "http://www.loc.gov/mods/v3":accessCondition, "http://www.loc.gov/mods/v3":extension, "http://www.loc.gov/mods/v3":recordInfo}' is expected. [Error] re.DvZjvM:25:45: cvc-complex-type.2.3: Element 'mods:titleInfo' cannot have character [children], because the type's content type is element-only. [Error] re.DvZjvM:25:45: cvc-complex-type.2.4.b: The content of element 'mods:titleInfo' is not complete. One of '{"http://www.loc.gov/mods/v3":title, "http://www.loc.gov/mods/v3":subTitle, "http://www.loc.gov/mods/v3":partNumber, "http://www.loc.gov/mods/v3":partName, "http://www.loc.gov/mods/v3":nonSort}' is expected. [Error] re.DvZjvM:26:59: cvc-complex-type.2.3: Element 'mods:titleInfo' cannot have character [children], because the type's content type is element-only. [Error] re.DvZjvM:26:59: cvc-complex-type.2.4.b: The content of element 'mods:titleInfo' is not complete. One of '{"http://www.loc.gov/mods/v3":title, "http://www.loc.gov/mods/v3":subTitle, "http://www.loc.gov/mods/v3":partNumber, "http://www.loc.gov/mods/v3":partName, "http://www.loc.gov/mods/v3":nonSort}' is expected. [Error] re.DvZjvM:31:35: cvc-datatype-valid.1.2.1: 'TMD_hdl_123456789/9' is not a valid value for 'NCName'. [Error] re.DvZjvM:31:35: cvc-attribute.3: The value 'TMD_hdl_123456789/9' of attribute 'ID' on element 'amdSec' is not valid with respect to its type, 'ID'. [Error] re.DvZjvM:32:13: cvc-complex-type.4: Attribute 'ID' must appear on element 'rightsMD'. [Error] re.DvZjvM:72:245: cvc-datatype-valid.1.2.1: '123456789_9_1' is not a valid value for 'NCName'. [Error] re.DvZjvM:72:245: cvc-attribute.3: The value '123456789_9_1' of attribute 'ID' on element 'file' is not valid with respect to its type, 'ID'. [Error] re.DvZjvM:77:248: cvc-datatype-valid.1.2.1: '123456789_9_3' is not a valid value for 'NCName'. [Error] re.DvZjvM:77:248: cvc-attribute.3: The value '123456789_9_3' of attribute 'ID' on element 'file' is not valid with respect to its type, 'ID'. /tmp/re.DvZjvM: 9005;29;0 ms (53 elems, 59 attrs, 0 spaces, 3445 chars) Scott Renton MIMS Project Officer Digital Library Development University Of Edinburgh 2 Buccleuch Place Edinburgh EH8 9LW 0131 651 5219 scott.ren...@ed.ac.uk -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech