The content model for "Book" assumes that each page is an image, e.g. a TIFF, JPEG file. All pages are combined to a PDF which represents the OCTETS datastream of the Book object. The BOOKINFO datastream lists all Page objects which are assumed to be image files.
On an (internal, non public) Phaidra instance, a book was created [1] where the first page is a PDF file:
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
<foxml:datastreamVersion ID="RELS-EXT.1" LABEL="Relationships" CREATED="2017-06-06T12:46:17.607Z" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-
1.0" SIZE="362">
<foxml:xmlContent>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="info:fedora/o:197863">
<hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/cmodel:Page"></hasModel>
<itemID xmlns="http://www.openarchives.org/OAI/2.0/" rdf:resource="oai:univie.ac.at:o:197863"></itemID>
</rdf:Description>
</rdf:RDF>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="OCTETS" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="OCTETS.0" LABEL="\\UB-DOM\U_Dom\Users M-R\Pospichal\Documents\Phaidra-Versuch_01\AT-UAW_Index_R_57_2_Titelblatt.pdf" CREATED="2017-06-06T12:46:18.031Z" MIMETYPE="application/pdf" SIZE="69613">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="o:197863+OCTETS+OCTETS.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
The Phaidra Importer should validate the media type of each page and refuse to build a Book object if the validation fails.
The content model for "Book" assumes that each page is an image, e.g. a TIFF, JPEG file. All pages are combined to a PDF which represents the OCTETS datastream of the Book object. The BOOKINFO datastream lists all Page objects which are assumed to be image files.
On an (internal, non public) Phaidra instance, a book was created [1] where the first page is a PDF file:
The Phaidra Importer should validate the media type of each page and refuse to build a Book object if the validation fails.