Skip to content

Instantly share code, notes, and snippets.

@filak
Created February 12, 2016 12:38
Show Gist options
  • Save filak/33c4536a4fcc34d82dfd to your computer and use it in GitHub Desktop.
Save filak/33c4536a4fcc34d82dfd to your computer and use it in GitHub Desktop.
Nevalidni FOXML
<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1" PID="uuid:1f315748-ab3c-4210-b060-9633cf025c45" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
<foxml:objectProperties>
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Sulla spiaggia il valore di semiarco"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2014-03-18T09:11:50.578Z"/>
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2014-03-18T09:11:51.725Z"/>
</foxml:objectProperties>
<foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
<foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2014-03-18T09:11:50.578Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:xmlContent>
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
<audit:record ID="AUDREC1">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>IMG_FULL</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2014-03-18T09:11:50.779Z</audit:date>
<audit:justification/>
</audit:record>
<audit:record ID="AUDREC2">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>IMG_THUMB</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2014-03-18T09:11:51.243Z</audit:date>
<audit:justification/>
</audit:record>
<audit:record ID="AUDREC3">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>IMG_PREVIEW</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2014-03-18T09:11:51.725Z</audit:date>
<audit:justification/>
</audit:record>
</audit:auditTrail>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="DC.0" LABEL="Dublin Core Record for this object" CREATED="2014-03-18T10:14:44.000Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="764">
<foxml:xmlContent>
<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:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>Sulla spiaggia il valore di semiarco</dc:title>
<dc:creator>Difumato, Matteo</dc:creator>
<dc:publisher>[Praha] : Quadrom</dc:publisher>
<dc:date>2012</dc:date>
<dc:type>model:monograph</dc:type>
<dc:identifier>uuid:1f315748-ab3c-4210-b060-9633cf025c45</dc:identifier>
<dc:identifier>ISBN:978-80-905290-2-1</dc:identifier>
<dc:identifier>sysno:001366710</dc:identifier>
<dc:language>ita</dc:language>
<dc:rights>policy:private</dc:rights>
</oai_dc:dc>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="BIBLIO_MODS" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="BIBLIO_MODS.0" LABEL="BIBLIO_MODS description of current object" CREATED="2014-03-18T10:14:44.000Z" MIMETYPE="text/xml" FORMAT_URI="http://www.loc.gov/mods/v3" SIZE="3048">
<foxml:xmlContent>
<ns2:modsCollection xmlns:ns2="http://www.loc.gov/mods/v3" xmlns:ns1="http://www.w3.org/1999/xlink">
<ns2:mods version="3.4" ID="MODS_VOLUME_0001">
<ns2:titleInfo>
<ns2:title>Sulla spiaggia</ns2:title>
<ns2:subTitle>il valore di semiarco</ns2:subTitle>
</ns2:titleInfo>
<ns2:name type="personal">
<ns2:namePart>Difumato, Matteo</ns2:namePart>
<ns2:namePart type="date">1981-</ns2:namePart>
<ns2:role>
<ns2:roleTerm type="code" authority="marcrelator">aut</ns2:roleTerm>
</ns2:role>
</ns2:name>
<ns2:typeOfResource>text</ns2:typeOfResource>
<ns2:genre authority="marcgt">drama</ns2:genre>
<ns2:originInfo>
<ns2:place>
<ns2:placeTerm type="code" authority="marccountry">xr</ns2:placeTerm>
</ns2:place>
<ns2:place>
<ns2:placeTerm type="text">Praha]</ns2:placeTerm>
</ns2:place>
<ns2:issuance>monographic</ns2:issuance>
<ns2:publisher>Quadrom</ns2:publisher>
<ns2:dateIssued>2012</ns2:dateIssued>
</ns2:originInfo>
<ns2:language>
<ns2:languageTerm type="code" authority="iso639-2b">ita</ns2:languageTerm>
</ns2:language>
<ns2:physicalDescription>
<ns2:form authority="marcform">print</ns2:form>
<ns2:form authority="gmd">elektronický zdroj</ns2:form>
<ns2:extent>1 soubor PDF</ns2:extent>
</ns2:physicalDescription>
<ns2:targetAudience authority="marctarget">general</ns2:targetAudience>
<ns2:identifier type="isbn">978-80-905290-2-1 (online : pdf)</ns2:identifier>
<ns2:recordInfo>
<ns2:recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl (Revision 1.71)</ns2:recordOrigin>
<ns2:recordOrigin>Digital object was created by Metadata editor (code.google.com/p/meta-editor)</ns2:recordOrigin>
<ns2:recordCreationDate encoding="marc">140213</ns2:recordCreationDate>
<ns2:recordIdentifier>001366710</ns2:recordIdentifier>
<mods:recordCreationDate xmlns:mods="http://www.loc.gov/mods/v3" encoding="iso8601">2014-03-18T10:14:44</mods:recordCreationDate>
<mods:recordChangeDate xmlns:mods="http://www.loc.gov/mods/v3" encoding="iso8601">2014-03-18T10:14:44</mods:recordChangeDate>
</ns2:recordInfo>
<mods:identifier xmlns:mods="http://www.loc.gov/mods/v3" type="sysno">001366710</mods:identifier>
<mods:identifier xmlns:mods="http://www.loc.gov/mods/v3" type="uuid">uuid:1f315748-ab3c-4210-b060-9633cf025c45</mods:identifier>
<mods:location xmlns:mods="http://www.loc.gov/mods/v3"/>
</ns2:mods>
</ns2:modsCollection>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="RELS_EXT.0" LABEL="RDF Statements about this object" CREATED="2014-03-18T10:14:44.000Z" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" SIZE="626">
<foxml:xmlContent>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:kramerius="http://www.nsdl.org/ontologies/relationships#">
<rdf:Description rdf:about="info:fedora/uuid:1f315748-ab3c-4210-b060-9633cf025c45">
<fedora-model:hasModel xmlns:fedora-model="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/model:monograph"/>
<oai:itemID xmlns:oai="http://www.openarchives.org/OAI/2.0/">uuid:1f315748-ab3c-4210-b060-9633cf025c45</oai:itemID>
<kramerius:policy>policy:private</kramerius:policy>
</rdf:Description>
</rdf:RDF>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="IMG_FULL" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="IMG_FULL.0" LABEL="" CREATED="2014-03-18T09:11:50.779Z" MIMETYPE="application/pdf" SIZE="376663">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="uuid:1f315748-ab3c-4210-b060-9633cf025c45x+IMG_FULL+IMG_FULL.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="IMG_FULL" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="IMG_FULL.0" LABEL="" CREATED="2014-03-18T09:11:50.779Z" MIMETYPE="application/pdf" SIZE="376663">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="uuid:1f315748-ab3c-4210-b060-9633cf025c45+IMG_FULL+IMG_FULL.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="IMG_THUMB" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="IMG_THUMB.0" LABEL="" CREATED="2014-03-18T09:11:51.243Z" MIMETYPE="image/jpeg" SIZE="5427">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="uuid:1f315748-ab3c-4210-b060-9633cf025c45+IMG_THUMB+IMG_THUMB.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="IMG_PREVIEW" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="IMG_PREVIEW.0" LABEL="" CREATED="2014-03-18T09:11:51.725Z" MIMETYPE="image/jpeg" SIZE="44021">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="uuid:1f315748-ab3c-4210-b060-9633cf025c45+IMG_PREVIEW+IMG_PREVIEW.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
</foxml:digitalObject>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment