Hi, 
 i have entered a new schema in dspace and use Batch inport tool to enter items 
and metadata values using both DC and MySchema.

During batch import when parsing the first metadata field of MySchema in 
dublin_core.xml i'm getting :

java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null
 at org.dspace.content.Item.update(Item.java:1463)
 at org.dspace.content.InstallItem.installItem(InstallItem.java:146)
 at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:663)
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.sql.SQLException: bad_dublin_core SchemaID=1, isReferencedBy null

the schema id of MySchema is not 1 as reported above but 3.  
Furthermore, the <schema> element in dublin_core.xml has the right value 
"MySchema" but the tool recognizes only the basic DC schema because
when i define the same field in DC the tool works fine even if the <schema> 
element has "MySchema" value. 

Is there any known bug or something that i did wrong?

Thanks.






-------------------------------------------------------------------------
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