spec/schema/pim.sch in flazz-schematron-0.0.3 vs spec/schema/pim.sch in flazz-schematron-0.1.0

- old
+ new

@@ -20,8 +20,16 @@ <assert test="parent::mets:xmlData/parent::mets:mdWrap/parent::mets:techMD"> PREMIS objects must be contained in a METS techMD </assert> </rule> - </pattern> + </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>