Hi Robin,

I tried a lot with the DC type and I gave up. Then I tried with MODS type.

<dmdSec ID="dmd_4" GROUPID="dmd_group_1">
  <mdWrap MDTYPE="MODS">
   <xmlData xmlns:mods="http://www.loc.gov/mods/v3";>
    <mods:mods>
     <mods:titleInfo>
      <mods:title>150 MB zip</mods:title>
     </mods:titleInfo>
    </mods:mods>
   </xmlData>
  </mdWrap>
 </dmdSec>



But since the DSpaceSIP does not add namespace specification, you would need
to call the specific method to add the namespace.

I modified the DSpaceSIP to add the following lines which adds the namespace
element


Namespace ns =  Namespace.getNamespace("mods","http://www.loc.gov/mods/v3";);
sip.addDescriptiveMD("MODS",modsElt,ns );

You may try this. But I do not have a solution to the DC problem yet.


Thanks
Vidya


On Mon, Jul 20, 2009 at 10:32 PM, Robin Wang <[email protected]> wrote:

>  Hi Vidya,
> I am from Germany and writing the application with LNI DSpace like you. Now
> i have the same problem like you wrote in this mail. I used the DSpaceSIP
> and LNIclient to build the Interface to Dspace DAV Server.  And i used DC
> too to desrcptive my Aritikels in mets package and got the same Error liked
> you typed in this mail.
>
> 2009-07-20 18:47:09,992 ERROR org.dspace.app.dav.DAVServlet @
> org.dspace.app.dav.DAVStatusException:
> org.dspace.content.crosswalk.MetadataValidationException: Cannot process
> METS Manifest: No crosswalk found for MDTYPE=DC
> org.dspace.app.dav.DAVStatusException:
> org.dspace.content.crosswalk.MetadataValidationException: Cannot process
> METS Manifest: No crosswalk found for MDTYPE=DC
>     at org.dspace.app.dav.DAVCollection.put(DAVCollection.java:556)
>     at org.dspace.app.dav.DAVServlet.serviceInternal(DAVServlet.java:578)
>     at org.dspace.app.dav.DAVServlet.service(DAVServlet.java:471)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Did you know how to correct this error now? Should we add an new XSL into
> /dspace/config/crosswalks? Please help me! Regards
>
> <dmdSec ID="dmd_5" GROUPID="dmd_group_1">
>    <mdWrap MDTYPE="DC">
>        <xmlData>
>           <dc:title>Data on the Web</dc:title>
>           <dc:creator>S. Abiteboul</dc:creator>
>           <dc:creator>P. Buneman</dc:creator>
>           <dc:creator>D. Suciu</dc:creator>
>        </xmlData>
>    </mdWrap>
> </dmdSec>
>
>
>
>
> ------------------------------
> Date: Thu, 16 Jul 2009 12:48:28 +0530
> From: [email protected]
> To: [email protected]
> Subject: [Dspace-tech] Question on METS format and DC crosswalk -
>
> Hi
>
> I am using DSpace 1.5.1 and trying to ingest files into DSpace theu LNI as
> SIP. I am using DSpaceSIP_toolkit to create these SIPs.
>
> But when I try to ingest I get this error
> No crosswalk found for MDTYPE=DC
>     at org.dspace.app.dav.DAVCollection.put(DAVCollection.java:556)
>     at org.dspace.app.dav.DAVServlet.serviceInternal(DAVServlet.java:578)
>     at org.dspace.app.dav.LNISoapServlet.doPut(LNISoapServlet.java:157)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>     at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>
>
>
> Can you please advise as what to do?
>
> Thanks
> Vidya
>
>
>
> ------------------------------
> Suchen Sie direkt, wo Sie sind. Bing™. Die Suche von 
> Microsoft®<http://redirect.gimas.net/?n=M0907Bing1>
> ------------------------------
> Suchen Sie direkt, wo Sie sind. Bing™. Die Suche von 
> Microsoft®<http://redirect.gimas.net/?n=M0907Bing1>
>



-- 
Keep ur face to the sunshine and u'll never see a shadow.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to