Hi Gareth, I'm using an old 1.5.2 version, but with the definition of a schema location that you say it works fine!
Thank's! ricard Gareth Waller wrote: > Hi Richard, > > Which version of DSpace are you using? Looking at the 1.8.2 code, it > could throw that error if you don't define a schema location in your > dspace.cfg. > > Try adding the following to the dspace.cfg > > crosswalk.dissemination.sample-crosswalk-DIM2DC.schemaLocation = \ > http://sample \ > http://sample/sample.xsd > > If that doesn't help, check the DSpace log file to ensure the > metadataPrefix is being read correctly. For a "listRecords" action, > you will see something similar to the below: > > 2012-05-21 16:11:23,766 INFO org.dspace.app.oai.DSpaceOAICatalog @ > anonymous:no_context:oai_request:verb=listRecords,from=0001-01-01T00\colon;00\colon;00Z,until=9999-12-31T23\colon;59\colon;59Z,set=null,metadataPrefix=sample-crosswalk-DIM2DC > 2012-05-21 16:11:23,775 INFO org.dspace.app.oai.DSpaceOAICatalog @ > anonymous::oai_harvest:results=1, ignore=0 > > Gareth > > > > On 19 May 2012, at 20:28, Ricard de la Vega wrote: > >> Hello, >> >> >> >> I want to create a disemination xsl crosswalk similar to the >> "sample-crosswalk-DIM2DC" example that comes with the default >> installation (congig/crosswalks/sample-crosswalk-DIM2DC.xsl). But I >> make something wrong because I can't test it. These are my steps to >> make the test: >> >> >> >> 1- In the dspace.cfg I put >> >> >> >> crosswalk.dissemination.sample-crosswalk-DIM2DC.stylesheet = >> crosswalks/sample-crosswalk-DIM2DC.xsl >> >> >> >> 2 - In the oaicat.properties I put: >> >> >> >> Crosswalks.sample-crosswalk-DIM2DC=org.dspace.app.oai.PluginCrosswalk >> >> >> >> And I >> try >> http://.../oai/request?verb=ListRecords&metadataPrefix=sample-crosswalk-DIM2DC >> >> <http://.../oai/request?verb=ListRecords&metadataPrefix=sample-crosswalk-DIM2DC> >> >> >> >> with the error: >> >> >> <error code="cannotDisseminateFormat"> >> "sample-crosswalk-DIM2DC" is not supported by the item or by the >> repository >> </error> >> >> >> >> >> What I forget? or what I'm making wrong? >> >> >> >> Thank's in advance for your help. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions >> will include endpoint security, mobile security and the latest in >> malware >> threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> DSpace-tech mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > > -- > Gareth Waller > EDINA > The University of Edinburgh > Causewayside House > 160 Causewayside > Edinburgh > EH9 1PR > > Email: [email protected] <mailto:[email protected]> > Skype: edina_gwaller > > EDINA: http://edina.ac.uk > > > > > > > > > ------------------------------------------------------------------------ > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > -- ....................................................................... __ / / Ricard de la Vega C E / S / C A Cap del Servei de Portals i Repositoris /__ / Centre de Serveis Científics i Acadèmics de Catalunya Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. 93 205 3898 · F. 93 205 6979 · [email protected] ....................................................................... ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

