I'm trying to leverage LNI in our library, and was hoping to determine
the minimal possible mets.xml file. 
All I could find was the maximal mets.xml, which included checksum, file
size and type, the dspace handle, etc.

Do I have to determine in advance (and specify in my mets.xml) which
handle my ingested item is going to have, file size, etc?

That would probably be prohibitive for the usage we had in mind. 

My current road block is:
[EMAIL PROTECTED] ~]# /dspace/bin/dsrun LNISmokeTest -e
http://ben.weinberg%40hp.com:[EMAIL PROTECTED]:8080/dspace-lni/lni/DS
paceLNI   -i /home/dspace/blah.zip -s hp/245 -P METS
Which return:

DEBUG: lookup returns: "/dso_hp%24245"
DEBUG: PUT file=/home/dspace/blah.zip to
URL=http://ben.weinberg%40hp.com:papin1
@marx.hpl.hp.com:8080/dspace-lni/lni/dso_hp%24245?package=METS
DEBUG: Sending Basic auth=YmVuLndlaW5iZXJnJTQwaHAuY29tOnBhcGluMQ==
HTTP error, status=500,
message=org.dspace.content.crosswalk.MetadataValidationE
xception: Error validating METS in
org.dspace.content.packager.PackageUtils$Uncl
[EMAIL PROTECTED], Reason: org.jdom.input.JDOMParseException:
Error on l
ine 2: cvc-elt.1: Cannot find the declaration of element 'mets'.


The mets tag is definitely there, and I replace jdom.jar with a freshly
built one. Has anyone seen this before?

Also, the log suggest that it attempt to insert into a non-existent
collection hp/37, if I'm reading this correctly, even though the command
specifies hp/245.

2007-08-06 11:11:47,679 INFO  org.dspace.content.WorkspaceItem @
[EMAIL PROTECTED]
.com::delete_workspace_item:workspace_item_id=1884item_id=1884collection
_id=37
2007-08-06 11:11:47,751 INFO  org.dspace.content.Item @
[EMAIL PROTECTED]::del
ete_item:item_id=1884
2007-08-06 11:11:47,753 INFO  org.dspace.content.Item @
[EMAIL PROTECTED]::rem
ove_bundle:item_id=1884,bundle_id=4707
2007-08-06 11:11:47,763 INFO  org.dspace.content.Bundle @
[EMAIL PROTECTED]::d
elete_bundle:bundle_id=4707
2007-08-06 11:11:47,788 ERROR org.dspace.app.dav.DAVCollection @
org.dspace.cont
ent.crosswalk.MetadataValidationException: Error validating METS in
org.dspace.c
[EMAIL PROTECTED], Reason:
org.jdom.inp
ut.JDOMParseException: Error on line 2: cvc-elt.1: Cannot find the
declaration o
f element 'mets'.

Any input would be greatly appreciated.

Ben Weinberg
HPL Digital Library Services.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to