Sha256: 59b3f3ddc8aa448fd63b6a62efa44de3c0a01d6d7127983a1e2b3b7b730d5890

Contents?: true

Size: 1015 Bytes

Versions: 9

Compression:

Stored size: 1015 Bytes

Contents

<schema xmlns="http://purl.oclc.org/dsdl/schematron">

  <title>
    Florida Digital Archive SIP Validation
  </title>
  
  <ns prefix="mets" uri="http://www.loc.gov/METS/"/>
  <ns prefix="pre" uri="info:lc/xmlns/premis-v2"/>
  <ns prefix="dts" uri="http://www.fcla.edu/dls/md/daitss/"/>

  <pattern name="PREMIS object should bein the proper buckets">
    
    <rule context="//pre:event">
      <assert test="parent::mets:xmlData/parent::mets:mdWrap/parent::mets:digiprovMD">
	PREMIS events must be contained in a METS digiprovMD
      </assert>
    </rule>

    <rule context="//pre:object">
      <assert test="parent::mets:xmlData/parent::mets:mdWrap/parent::mets:techMD">
	PREMIS objects must be contained in a METS techMD
      </assert> 
    </rule>

  </pattern>
  
  <pattern name="METS should have embedded PREMIS">
    <rule context="mets:mets">
      <report test="not(//mets:mdWrap[@MDTYPE='PREMIS'])">
        This METS file has no embedded PREMIS
      </report>
    </rule>
  </pattern>

</schema>

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
schematron-nokogiri-0.0.3 spec/schema/pim.sch
schematron-nokogiri-0.0.2 spec/schema/pim.sch
schematron-nokogiri-0.0.1 spec/schema/pim.sch
flazz-schematron-0.1.0 spec/schema/pim.sch
schematron-1.1.1 spec/schema/pim.sch
schematron-1.0.0 spec/schema/pim.sch
schematron-0.1.2 spec/schema/pim.sch
schematron-0.1.1 spec/schema/pim.sch
schematron-0.1.0 spec/schema/pim.sch