Hey there fellow Fedora users!

I've been using Fedora for a week or so now and I am trying to 
understand what I can and can't do when ingesting files in Fedora.

I wanted to ingest a METS-Fedora-1.1 XML file with the digital object 
specifications together with a file to be stored as managed content 
under a datastream called IMAGE.
My problem is that I can't get the xlink:href property to point to a 
file stored locally in my system, only to a file referenced elsewhere 
through http.

            <METS:fileGrp ID="DATASTREAMS">
                  <METS:fileGrp ID="IMAGE" STATUS="A">
                        <METS:file ID="IMAGE1.0" MIMETYPE="image/gif" 
ADMID="TECHNICAL SOURCE RIGHTS" OWNERID="M" STATUS="A">
                              <METS:FLocat LOCTYPE="URL" 
xlink:href="location of my file, stored locally"
                            xlink:title="template: gif image"/>
                        </METS:file>
                  </METS:fileGrp>
            </METS:fileGrp>

Since the schema for METS-Fedora-1.1 mentions the file must be pointed 
in the xlink:href element, and since the xlink specs say the href 
atribute must be a valid URI, i presumed i could define the location of 
my file locally using file://location. Turns out Fedora refuses to 
ingest the object claiming that file: is an invalid protocol. I've also 
tried using a relative URI and simply pointing the absolute location of 
the file on my disk. However Fedora just says the URI is malformed when 
i try to ingest the object like this.

I know I have the alternative of simply embedding the file in question 
in the XML file, but i really wanted to avoid that as i could need to 
upload large files to the repository. So my question is: how can i 
reference a locally stored file in a METS-Fedora-1.1 xml document?

Thanks for reading, and sorry if the question has a really obvious answer!

Tiago

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to