Since Fedora 3.3 it is possible to reference managed and externally-managed content (type "M" and "E") with a First edit the predefined XACML policy, uncomment the relevant rule in the preinstalled policy file ... <Rule RuleId="1" Effect="Permit"> <Condition FunctionId="urn:oasis:names:tc:xacml:1.0:function:regexp-string-match"> <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">{^}{{[file:/allowed/.*$]}}</AttributeValue> <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only"> <ResourceAttributeDesignator AttributeId="urn:fedora:names:fedora:2.1:resource:datastream:fileUri" DataType="http://www.w3.org/2001/XMLSchema#string"/> </Apply> </Condition> </Rule> ... Then create your digital object FOXML and use the ... <foxml:datastream CONTROL_GROUP="E" ID="MEDIUM_SIZE" STATE="A" VERSIONABLE="true"> <foxml:datastreamVersion CREATED="2008-07-02T05:09:42.937Z" ID="MediumSize.jpg.0" LABEL="Medium-size image" MIMETYPE="image/jpeg"> <foxml:contentLocation REF="file:///path/to/files/image.jpeg" TYPE="URL"/> </foxml:datastreamVersion> </foxml:datastream> ... file URI format The provided The use of two slashes after the scheme is not allowed and will result in an error because it defines an authority component. File URIs and externally-managed datastreams The default policy Note: Please bear in mind that the activation of
|