All Downloads are FREE. Search and download functionalities are using the official Maven repository.

implementationcheckers.TiffITP1ProfileChecker.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<implementationCheckerObject xmlns="http://www.dpfmanager.org/ProfileChecker"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:schemaLocation="http://www.dpfmanager.org/ProfileChecker ProfileChecker.xsd">
    
    <title>TIFF/IT-P1</title>
    <iso>TIFF/IT-P1</iso>
    <description>ISO 12639:2004(E)</description>
    <version>1.0.0</version>
    <author>Easy Innova</author>
    <date>2016-09-20</date>
    
    <include><policyChecker>TIFF_Baseline_Core_6_0.xml</policyChecker></include>
    <include>
        <policyChecker>TiffITProfileChecker.xml</policyChecker>
        <excluderules>CT-restricted-tags</excluderules>
        <excluderules>LW-restricted-tags</excluderules>
        <excluderules>MP-restricted-tags</excluderules>
        <excluderules>BP-restricted-tags</excluderules>
        <excluderules>BL-restricted-tags</excluderules>
        <excluderules>SD-restricted-tags</excluderules>
        <excluderules>FP-restricted-tags</excluderules>
    </include>
    
    <rules id="CT-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-1" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for BitsPerSample tag</title><description>Check valid value for BitsPerSample tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=BitsPerSample] == 8}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-2" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag Compression exists</title><description>Check mandatory tag Compression exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Compression]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-3" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag Compression</title><description>Check valid cardinality for tag Compression</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Compression].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-4" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for Compression tag</title><description>Check valid value for Compression tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Compression] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-5" context="ifd[filetype=ct]" level="error">
            <title>Check valid cardinality for tag PhotometricInterpretation</title><description>Check valid cardinality for tag PhotometricInterpretation</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-6" context="ifd[filetype=ct]" level="error">
            <title>Check valid value for tag PhotometricInterpretation</title><description>Check valid value for tag PhotometricInterpretation</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation] == 5}">Photometric interpretation must be 5</assert>
        </rule>
        <rule id="it-p1-7" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-8" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-9" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-10" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag InkSet exists</title><description>Check mandatory tag InkSet exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=InkSet]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-11" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag InkSet</title><description>Check valid cardinality for tag InkSet</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=InkSet].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-12" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for InkSet tag</title><description>Check valid value for InkSet tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=InkSet] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-13" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag NumberOfInks exists</title><description>Check mandatory tag NumberOfInks exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NumberOfInks]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-14" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag NumberOfInks</title><description>Check valid cardinality for tag NumberOfInks</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NumberOfInks].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-15" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for NumberOfInks tag</title><description>Check valid value for NumberOfInks tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NumberOfInks] == 4}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-16" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-17" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-18" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check mandatory tag PlanarConfiguration exists</title><description>Check mandatory tag PlanarConfiguration exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-19" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check valid cardinality for tag PlanarConfiguration</title><description>Check valid cardinality for tag PlanarConfiguration</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-20" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check valid value for PlanarConfiguration tag</title><description>Check valid value for PlanarConfiguration tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration] == 1} || {tags.tag[name=PlanarConfiguration] == 2} || {tags.tag[name=PlanarConfiguration] == 32768}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-21" context="ifd[filetype=ct,imgtype=lab]" level="error">
            <title>Check mandatory tag PlanarConfiguration exists</title><description>Check mandatory tag PlanarConfiguration exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-22" context="ifd[filetype=ct,imgtype=lab]" level="error">
            <title>Check valid cardinality for tag PlanarConfiguration</title><description>Check valid cardinality for tag PlanarConfiguration</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-23" context="ifd[filetype=ct,imgtype=lab]" level="error">
            <title>Check valid value for PlanarConfiguration tag</title><description>Check valid value for PlanarConfiguration tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration] == 1} || {tags.tag[name=PlanarConfiguration] == 2} || {tags.tag[name=PlanarConfiguration] == 32768}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-24" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag PlanarConfiguration exists</title><description>Check mandatory tag PlanarConfiguration exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-25" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag PlanarConfiguration</title><description>Check valid cardinality for tag PlanarConfiguration</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-26" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for PlanarConfiguration tag</title><description>Check valid value for PlanarConfiguration tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=PlanarConfiguration] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-27" context="ifd[filetype=ct]" level="error">
            <title>Check mandatory tag XResolution exists</title><description>Check mandatory tag XResolution exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=XResolution]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-28" context="ifd[filetype=ct]" level="error">
            <title>Check valid cardinality for tag XResolution</title><description>Check valid cardinality for tag XResolution</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=XResolution].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-29" context="ifd[filetype=ct]" level="error">
            <title>Check mandatory tag YResolution exists</title><description>Check mandatory tag YResolution exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=YResolution]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-30" context="ifd[filetype=ct]" level="error">
            <title>Check valid cardinality for tag YResolution</title><description>Check valid cardinality for tag YResolution</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=YResolution].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-31" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-32" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-33" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-34" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag SamplesPerPixel</title><description>Check valid cardinality for tag SamplesPerPixel</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-35" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for SamplesPerPixel tag</title><description>Check valid value for SamplesPerPixel tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel] == 4}">Incorrect tag value</assert>
        </rule>
    </rules>
    
    <rules id="CT-newsbufiletype-check">
        <title></title>
        <description></description>
        <rule id="it-p1-36" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-37" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-38" context="ifd[filetype=ct,imgtype=rgb]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-39" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-40" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-41" context="ifd[filetype=ct,imgtype=norgblab]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>24</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
    </rules>
    
    <rules id="LW-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-42" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-43" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-44" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-45" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag BitsPerSample exists</title><description>Check mandatory tag BitsPerSample exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=BitsPerSample]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-46" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag BitsPerSample</title><description>Check valid cardinality for tag BitsPerSample</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=BitsPerSample].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-47" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for BitsPerSample tag</title><description>Check valid value for BitsPerSample tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=BitsPerSample] == 8}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-48" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-49" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-50" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-51" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-52" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-53" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-54" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag InkSet exists</title><description>Check mandatory tag InkSet exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=InkSet]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-55" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag InkSet</title><description>Check valid cardinality for tag InkSet</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=InkSet].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-56" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for InkSet tag</title><description>Check valid value for InkSet tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=InkSet] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-57" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag NumberOfInks exists</title><description>Check mandatory tag NumberOfInks exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NumberOfInks]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-58" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag NumberOfInks</title><description>Check valid cardinality for tag NumberOfInks</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NumberOfInks].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-59" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for NumberOfInks tag</title><description>Check valid value for NumberOfInks tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=NumberOfInks] == 4}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-60" context="ifd[filetype=lw]" level="error">
            <title>Check mandatory tag DotRange exists</title><description>Check mandatory tag DotRange exists</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=DotRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-61" context="ifd[filetype=lw]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-62" context="ifd[filetype=lw]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>31</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
    </rules>

    <rules id="HC-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-63" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-64" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-65" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-66" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag BitsPerSample exists</title><description>Check mandatory tag BitsPerSample exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=BitsPerSample]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-67" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag BitsPerSample</title><description>Check valid cardinality for tag BitsPerSample</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=BitsPerSample].cardinality == 4}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-68" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for BitsPerSample tag</title><description>Check valid value for BitsPerSample tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=BitsPerSample] == 8}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-69" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-70" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-71" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-72" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag SamplesPerPixel exists</title><description>Check mandatory tag SamplesPerPixel exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-73" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag SamplesPerPixel</title><description>Check valid cardinality for tag SamplesPerPixel</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-74" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for SamplesPerPixel tag</title><description>Check valid value for SamplesPerPixel tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-75" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-76" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-77" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-78" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag InkSet exists</title><description>Check mandatory tag InkSet exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=InkSet]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-79" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag InkSet</title><description>Check valid cardinality for tag InkSet</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=InkSet].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-80" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for InkSet tag</title><description>Check valid value for InkSet tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=InkSet] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-81" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag NumberOfInks exists</title><description>Check mandatory tag NumberOfInks exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NumberOfInks]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-82" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag NumberOfInks</title><description>Check valid cardinality for tag NumberOfInks</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NumberOfInks].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-83" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for NumberOfInks tag</title><description>Check valid value for NumberOfInks tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=NumberOfInks] == 4}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-84" context="ifd[filetype=hc]" level="error">
            <title>Check mandatory tag DotRange exists</title><description>Check mandatory tag DotRange exists</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=DotRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-85" context="ifd[filetype=hc]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-86" context="ifd[filetype=hc]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>34</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
        
    </rules>

    <rules id="MP-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-87" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-88" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-89" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-90" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag BitsPerSample exists</title><description>Check mandatory tag BitsPerSample exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=BitsPerSample]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-91" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag BitsPerSample</title><description>Check valid cardinality for tag BitsPerSample</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=BitsPerSample].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-92" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for BitsPerSample tag</title><description>Check valid value for BitsPerSample tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=BitsPerSample] == 8} || {tags.tag[name=BitsPerSample] == 16}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-93" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag Compression exists</title><description>Check mandatory tag Compression exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Compression]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-94" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag Compression</title><description>Check valid cardinality for tag Compression</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Compression].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-95" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for Compression tag</title><description>Check valid value for Compression tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Compression] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-96" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag PhotometricInterpretation exists</title><description>Check mandatory tag PhotometricInterpretation exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-97" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag PhotometricInterpretation</title><description>Check valid cardinality for tag PhotometricInterpretation</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-98" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for PhotometricInterpretation tag</title><description>Check valid value for PhotometricInterpretation tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-99" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-100" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-101" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-102" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag SamplesPerPixel exists</title><description>Check mandatory tag SamplesPerPixel exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-103" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag SamplesPerPixel</title><description>Check valid cardinality for tag SamplesPerPixel</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-104" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for SamplesPerPixel tag</title><description>Check valid value for SamplesPerPixel tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=SamplesPerPixel] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-105" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-106" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-107" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-108" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag DotRange exists</title><description>Check mandatory tag DotRange exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=DotRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-109" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-110" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-111" context="ifd[filetype=mp]" level="error">
            <title>Check mandatory tag PixelIntensityRange exists</title><description>Check mandatory tag PixelIntensityRange exists</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PixelIntensityRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-112" context="ifd[filetype=mp]" level="error">
            <title>Check valid cardinality for tag PixelIntensityRange</title><description>Check valid cardinality for tag PixelIntensityRange</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PixelIntensityRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-113" context="ifd[filetype=mp]" level="error">
            <title>Check valid value for PixelIntensityRange tag</title><description>Check valid value for PixelIntensityRange tag</description>
            <reference><section></section><page>36</page></reference>
            <assert test="{tags.tag[name=PixelIntensityRange] == 0} || {tags.tag[name=PixelIntensityRange] == 255}">Incorrect tag value</assert>
        </rule>
    </rules>

    <rules id="BP-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-114" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-115" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-116" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-117" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag Compression exists</title><description>Check mandatory tag Compression exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=Compression]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-118" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag Compression</title><description>Check valid cardinality for tag Compression</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=Compression].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-119" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for Compression tag</title><description>Check valid value for Compression tag</description>
            <reference><section></section><page>38</page></reference><assert test="{tags.tag[name=Compression] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-120" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag PhotometricInterpretation exists</title><description>Check mandatory tag PhotometricInterpretation exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-121" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag PhotometricInterpretation</title><description>Check valid cardinality for tag PhotometricInterpretation</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-122" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for PhotometricInterpretation tag</title><description>Check valid value for PhotometricInterpretation tag</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-123" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-124" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-125" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-126" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-127" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-128" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-129" context="ifd[filetype=bp]" level="error">
            <title>Check mandatory tag DotRange exists</title><description>Check mandatory tag DotRange exists</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=DotRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-130" context="ifd[filetype=bp]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-131" context="ifd[filetype=bp]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>38</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
    </rules>

    <rules id="BL-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-132" context="ifd[filetype=bl]" level="error">
            <title>Check mandatory tag NewSubfileType exists</title><description>Check mandatory tag NewSubfileType exists</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=NewSubfileType]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-133" context="ifd[filetype=bl]" level="error">
            <title>Check valid cardinality for tag NewSubfileType</title><description>Check valid cardinality for tag NewSubfileType</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=NewSubfileType].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-134" context="ifd[filetype=bl]" level="error">
            <title>Check valid value for NewSubfileType tag</title><description>Check valid value for NewSubfileType tag</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=NewSubfileType] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-135" context="ifd[filetype=bl]" level="error">
            <title>Check mandatory tag PhotometricInterpretation exists</title><description>Check mandatory tag PhotometricInterpretation exists</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-136" context="ifd[filetype=bl]" level="error">
            <title>Check valid cardinality for tag PhotometricInterpretation</title><description>Check valid cardinality for tag PhotometricInterpretation</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-137" context="ifd[filetype=bl]" level="error">
            <title>Check valid value for PhotometricInterpretation tag</title><description>Check valid value for PhotometricInterpretation tag</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=PhotometricInterpretation] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-138" context="ifd[filetype=bl]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-139" context="ifd[filetype=bl]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-140" context="ifd[filetype=bl]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-141" context="ifd[filetype=bl]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-142" context="ifd[filetype=bl]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-143" context="ifd[filetype=bl]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-144" context="ifd[filetype=bl]" level="error">
            <title>Check mandatory tag DotRange exists</title><description>Check mandatory tag DotRange exists</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=DotRange]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-145" context="ifd[filetype=bl]" level="error">
            <title>Check valid cardinality for tag DotRange</title><description>Check valid cardinality for tag DotRange</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=DotRange].cardinality == 2}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-146" context="ifd[filetype=bl]" level="error">
            <title>Check valid value for DotRange tag</title><description>Check valid value for DotRange tag</description>
            <reference><section></section><page>41</page></reference>
            <assert test="{tags.tag[name=DotRange] == 0} || {tags.tag[name=DotRange] == 255}">Incorrect tag value</assert>
        </rule>
    </rules>
    
    <rules id="SD-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-147" context="ifd[filetype=sd]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>43</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-148" context="ifd[filetype=sd]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>43</page></reference>
            <assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-149" context="ifd[filetype=sd]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>43</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
    </rules>

    <rules id="FP-restricted-tags">
        <title></title>
        <description></description>
        <rule id="it-p1-150" context="ifd[filetype=fp]" level="error">
            <title>Check mandatory tag StripOffsets exists</title><description>Check mandatory tag StripOffsets exists</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=StripOffsets]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-151" context="ifd[filetype=fp]" level="error">
            <title>Check valid cardinality for tag StripOffsets</title><description>Check valid cardinality for tag StripOffsets</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=StripOffsets].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-152" context="ifd[filetype=fp]" level="error">
            <title>Check valid value for StripOffsets tag</title><description>Check valid value for StripOffsets tag</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=StripOffsets] == 0}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-153" context="ifd[filetype=fp]" level="error">
            <title>Check mandatory tag Orientation exists</title><description>Check mandatory tag Orientation exists</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=Orientation]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-154" context="ifd[filetype=fp]" level="error">
            <title>Check valid cardinality for tag Orientation</title><description>Check valid cardinality for tag Orientation</description>
            <reference><section></section><page>48</page></reference><assert test="{tags.tag[name=Orientation].cardinality == 1}">Incorrect tag cardinality</assert>

        </rule>
        <rule id="it-p1-155" context="ifd[filetype=fp]" level="error">
            <title>Check valid value for Orientation tag</title><description>Check valid value for Orientation tag</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=Orientation] == 1}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-156" context="ifd[filetype=fp]" level="error">
            <title>Check mandatory tag ResolutionUnit exists</title><description>Check mandatory tag ResolutionUnit exists</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-157" context="ifd[filetype=fp]" level="error">
            <title>Check valid cardinality for tag ResolutionUnit</title><description>Check valid cardinality for tag ResolutionUnit</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-158" context="ifd[filetype=fp]" level="error">
            <title>Check valid value for ResolutionUnit tag</title><description>Check valid value for ResolutionUnit tag</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=ResolutionUnit] == 2} || {tags.tag[name=ResolutionUnit] == 3}">Incorrect tag value</assert>
        </rule>
        <rule id="it-p1-159" context="ifd[filetype=fp]" level="error">
            <title>Check mandatory tag NumberOfInks exists</title><description>Check mandatory tag NumberOfInks exists</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=NumberOfInks]}">Tag is required</assert>
        </rule>
        <rule id="it-p1-160" context="ifd[filetype=fp]" level="error">
            <title>Check valid cardinality for tag NumberOfInks</title><description>Check valid cardinality for tag NumberOfInks</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=NumberOfInks].cardinality == 1}">Incorrect tag cardinality</assert>
        </rule>
        <rule id="it-p1-161" context="ifd[filetype=fp]" level="error">
            <title>Check valid value for NumberOfInks tag</title><description>Check valid value for NumberOfInks tag</description>
            <reference><section></section><page>48</page></reference>
            <assert test="{tags.tag[name=NumberOfInks] == 4}">Incorrect tag value</assert>
        </rule>
    </rules>
    
</implementationCheckerObject>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy