Would anyone have an example for the multipart file for REST API-M 
modifyDatastream?

I'm sending this but getting 'Content is not allowed in prolog':

<?xml version="1.0"?>
<fox:datastream … ID="DCTERMS" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
  <fox:datastreamVersion ID="DCTERMS.0" MIMETYPE="text/xml" LABEL="DCMI Record">
    <fox:xmlContent>
      <dct:dcterms xmlns:dcterms="http://purl.org/dc/terms/";>
        <dct:title>Test</dct:title>
        <dct:description>Test</dct:description>
        <dct:creator>Test</dct:creator>
        <dct:date>2012-09-26 12:23:32</dct:date>
        <dct:format>application/zip</dct:format>
        <dct:identifier>_6666</dct:identifier>
        <dct:rights>Third party license - read attached terms and 
conditions</dct:rights>
        <dct:publisher>Test</dct:publisher>
        <dct:subject>Test1</dct:subject>
        <dct:subject>Test2</dct:subject>
      </dct:dcterms>
    </fox:xmlContent>
  </fox:datastreamVersion>
</fox:datastream>

thanks,

Alistair

--
mov eax,1
mov ebx,0
int 80h
------------------------------------------------------------------------------
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/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to