For the first time since upgrading to Fedora 3, I am attempting batch modifies. 
I am encountering a problem eerily similar to a recurring bug that turned up 
with batch modifies and Fedora 2.

Namely, I attempt to validate a modify directives file, and I am told the file 
is valid. Then I attempt to process the directive, and I get an error message:

   <failed directive="modifyDatastream" sourcePID="tufts:UA015.012.073.00001">
     fedora.server.errors.GeneralException: XML was not well-formed. Attribute 
name &quot;xmlns:dcterms&quot; associated with an element type 
&quot;oai_dc:dc&quot; must be followed by the &apos; = &apos; character.
   </failed>

The directive in question is:

<fbm:batchModify xmlns:fbm="http://www.fedora.info/definitions/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://www.fedora.info/definitions/"; 
xsi:schemaLocation="http://www.fedora.info/definitions/ 
http://www.fedora.info/definitions/1/0/api/batchModify.xsd";>

             <fbm:modifyDatastream pid="tufts:UA015.012.073.00001" 
dsControlGroupType="X" dsID="DC" logMessage="JIRA 
DR-INGEST-159"><fbm:xmlData><metadata xmlns="" 
xmlns:xlink="http://www.w3.org/1999/xlink"; ID="DC">
                   <oai_dc:dc 
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"; 
xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:dcterms="http://purl.org/dc/terms/";>
                         <dc:title>Sample title</dc:title>
                         <dc:creator>Sample Author</dc:creator>
                         <dc:subject>Sample thesis</dc:subject>
                         <dc:type>text</dc:type>
                         <dc:format>application/pdf</dc:format>
                   </oai_dc:dc>
             </metadata></fbm:xmlData></fbm:modifyDatastream>

</fbm:batchModify>

Any ideas? I'm hesitant to throw myself against this too much harder, given my 
uncanny experience turning up bugs in batchModify 
(<http://article.gmane.org/gmane.comp.cms.fedora-commons.user/4161>).

Thanks very much,

-Deborah
-- 
Deborah Kaplan
Digital Resources Archivist
Digital Collections and Archives
Tufts University

------------------------------------------------------------------------------
Download Intel&#174; 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
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to