<?xml version="1.0" encoding="UTF-8"?>
<sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:axsl="http://www.w3.org/1999/XSL/Transform" xmlns:i5sch="http://echa.europa.eu/comm/enterprise/reach/iuclid5/20060407/schematron">
  <sch:pattern name="Endpoint Details">
    <sch:rule context="/i5:EndpointStudyRecord">
      <sch:report test="true()">
        <axsl:element name="i5sch:details">
          <axsl:attribute name="name">
            <axsl:value-of select="i5:name/text()" />
          </axsl:attribute>
          <axsl:attribute name="type">EndpointStudyRecord</axsl:attribute>
        </axsl:element>
      </sch:report>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="regulatoryPurposes">
    <sch:rule context="/i5:EndpointStudyRecord/i5:dataProtection/i5:regulatoryPurposes/i5:regulatoryPurpose[@valueID = &quot;NOT_SPECIFIED&quot; or @valueID = &quot;733&quot; or @valueID = &quot;5793&quot; or @valueID = &quot;735&quot; or @valueID = &quot;209&quot; or @valueID = &quot;210&quot; or @valueID = &quot;919&quot; or @valueID = &quot;1313&quot; or @valueID = &quot;1646&quot; or @valueID = &quot;1647&quot; or @valueID = &quot;1648&quot;]">
      <sch:assert test="normalize-space(./i5:otherValue/text()) = &quot;&quot;">
        <i5sch:error>
          <axsl:element name="i5sch:messageID">
            <axsl:attribute name="name">
              <axsl:choose>
                <axsl:when test="./@valueID = 'NOT_SPECIFIED'">PICK_LIST_VALUE_NOT_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:when>
                <axsl:otherwise>PICK_LIST_VALUE_VALUE_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:otherwise>
              </axsl:choose>
            </axsl:attribute>
          </axsl:element>
          <i5sch:field name="regulatoryPurposes" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(./i5:otherValue/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="studyResultType">
    <sch:rule context="/i5:EndpointStudyRecord/i5:studyResultType[@valueID = &quot;NOT_SPECIFIED&quot; or @valueID = &quot;1895&quot; or @valueID = &quot;1896&quot; or @valueID = &quot;1885&quot; or @valueID = &quot;2303&quot; or @valueID = &quot;2304&quot; or @valueID = &quot;14&quot; or @valueID = &quot;1173&quot;]">
      <sch:assert test="normalize-space(./i5:otherValue/text()) = &quot;&quot;">
        <i5sch:error>
          <axsl:element name="i5sch:messageID">
            <axsl:attribute name="name">
              <axsl:choose>
                <axsl:when test="./@valueID = 'NOT_SPECIFIED'">PICK_LIST_VALUE_NOT_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:when>
                <axsl:otherwise>PICK_LIST_VALUE_VALUE_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:otherwise>
              </axsl:choose>
            </axsl:attribute>
          </axsl:element>
          <i5sch:field name="studyResultType" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(./i5:otherValue/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="reliability">
    <sch:rule context="/i5:EndpointStudyRecord/i5:reliability[@valueID = &quot;NOT_SPECIFIED&quot; or @valueID = &quot;16&quot; or @valueID = &quot;18&quot; or @valueID = &quot;22&quot; or @valueID = &quot;24&quot;]">
      <sch:assert test="normalize-space(./i5:otherValue/text()) = &quot;&quot;">
        <i5sch:error>
          <axsl:element name="i5sch:messageID">
            <axsl:attribute name="name">
              <axsl:choose>
                <axsl:when test="./@valueID = 'NOT_SPECIFIED'">PICK_LIST_VALUE_NOT_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:when>
                <axsl:otherwise>PICK_LIST_VALUE_VALUE_SPECIFIED_BUT_OTHER_VALUE_FOUND</axsl:otherwise>
              </axsl:choose>
            </axsl:attribute>
          </axsl:element>
          <i5sch:field name="reliability" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(./i5:otherValue/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="REFERENCE/PHRASEOTHER_REFERENCE_TYPE">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;1586&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;266&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;1443&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;1486&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;1542&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:REFERENCE/i5:set/i5:PHRASEOTHER_REFERENCE_TYPE/i5:REFERENCE_TYPE[text() = &quot;811&quot;]">
      <sch:assert test="normalize-space(../i5:REFERENCE_TYPE_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Reference" name="REFERENCE" />
          <i5sch:field label="Reference type" name="PHRASEOTHER_REFERENCE_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:REFERENCE_TYPE_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="DATA_ACCESS/PHRASEOTHER_LIST_POP">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1838&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1837&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1835&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1836&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_ACCESS/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;2193&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data access" name="DATA_ACCESS" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="DATA_PROT_CLAIM/PHRASEOTHER_LIST_POP_FIX">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:DATA_PROT_CLAIM/i5:set/i5:PHRASEOTHER_LIST_POP_FIX/i5:LIST_POP_FIX[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_FIX.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Data protection claimed" name="DATA_PROT_CLAIM" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP_FIX" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_FIX.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="PRODUCT_TYPE/PHRASEOTHER_LIST_POP">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1407&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1408&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1409&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1410&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1411&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1412&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1413&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1414&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1415&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1416&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1417&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1418&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1419&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1420&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1421&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1422&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1423&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1424&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1425&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1426&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1427&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1428&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:PRODUCT_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;1429&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Product type" name="PRODUCT_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="GUIDELINE/QUALIFIER">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:GUIDELINE/i5:set/i5:QUALIFIER/i5:QUALIFIER[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:QUALIFIER.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test guideline" name="GUIDELINE" />
          <i5sch:field label="Qualifier" name="QUALIFIER" />
          <i5sch:messageID name="PHRASE_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:QUALIFIER.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="GUIDELINE/PHRASEOTHER_GUIDELINE">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:GUIDELINE/i5:set/i5:PHRASEOTHER_GUIDELINE/i5:GUIDELINE[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:GUIDELINE.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test guideline" name="GUIDELINE" />
          <i5sch:field label="Guideline" name="PHRASEOTHER_GUIDELINE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:GUIDELINE.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="GUIDELINE/PHRASEOTHER_DEVIATION">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:GUIDELINE/i5:set/i5:PHRASEOTHER_DEVIATION/i5:DEVIATION[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:DEVIATION.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test guideline" name="GUIDELINE" />
          <i5sch:field label="Deviations" name="PHRASEOTHER_DEVIATION" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:DEVIATION.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="GLP_COMPLIANCE_STATEMENT/PHRASEOTHER_LIST_SEL_FIX">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:GLP_COMPLIANCE_STATEMENT/i5:set/i5:PHRASEOTHER_LIST_SEL_FIX/i5:LIST_SEL_FIX[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_SEL_FIX.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="GLP compliance" name="GLP_COMPLIANCE_STATEMENT" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_SEL_FIX" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_SEL_FIX.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="TESTMAT_INDICATOR/LIST_BELOW_SEL">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT_INDICATOR/i5:set/i5:LIST_BELOW_SEL/i5:LIST_BELOW_SEL[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_BELOW_SEL.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Identity of test material same as for substance defined in section 1 (if not read-across)" name="TESTMAT_INDICATOR" />
          <i5sch:field label="" name="LIST_BELOW_SEL" />
          <i5sch:messageID name="PHRASE_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_BELOW_SEL.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="TESTMAT/PHRASEOTHER_IDENTIFIER">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;4174&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;4175&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;4176&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;4177&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;4178&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;3452&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTMAT/i5:set/i5:PHRASEOTHER_IDENTIFIER/i5:IDENTIFIER[text() = &quot;3451&quot;]">
      <sch:assert test="normalize-space(../i5:IDENTIFIER_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test material identity" name="TESTMAT" />
          <i5sch:field label="Identifier" name="PHRASEOTHER_IDENTIFIER" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:IDENTIFIER_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="RADIO_LABEL/LIST_BELOW_SEL">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:RADIO_LABEL/i5:set/i5:LIST_BELOW_SEL/i5:LIST_BELOW_SEL[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_BELOW_SEL.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Radiolabelling" name="RADIO_LABEL" />
          <i5sch:field label="" name="LIST_BELOW_SEL" />
          <i5sch:messageID name="PHRASE_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_BELOW_SEL.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="TESTSITE_TYPE/PHRASEOTHER_LIST_POP">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTSITE_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test site type" name="TESTSITE_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test site type" name="TESTSITE_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:TESTSITE_TYPE/i5:set/i5:PHRASEOTHER_LIST_POP/i5:LIST_POP[text() = &quot;4561&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_TXT/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test site type" name="TESTSITE_TYPE" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_SPECIFIED_BUT_OTHER_FOUND" />
          <i5sch:value name="otherValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_TXT/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="CROPS_HD/PHRASEOTHER_CROPS_TYPE">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:CROPS_HD/i5:set/i5:PHRASEOTHER_CROPS_TYPE/i5:CROPS_TYPE[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:CROPS_TYPE.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test crops" name="CROPS_HD" />
          <i5sch:field label="Type of crop" name="PHRASEOTHER_CROPS_TYPE" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:CROPS_TYPE.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="CROPS_HD/PHRASEOTHER_CROPS_SCIENTIFIC_NAME">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:CROPS_HD/i5:set/i5:PHRASEOTHER_CROPS_SCIENTIFIC_NAME/i5:CROPS_SCIENTIFIC_NAME[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:CROPS_SCIENTIFIC_NAME.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test crops" name="CROPS_HD" />
          <i5sch:field label="Scientific name" name="PHRASEOTHER_CROPS_SCIENTIFIC_NAME" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:CROPS_SCIENTIFIC_NAME.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="CROPS_HD/PHRASEOTHER_CROPS_GROUP">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:CROPS_HD/i5:set/i5:PHRASEOTHER_CROPS_GROUP/i5:CROPS_GROUP[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:CROPS_GROUP.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Test crops" name="CROPS_HD" />
          <i5sch:field label="Crop group" name="PHRASEOTHER_CROPS_GROUP" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:CROPS_GROUP.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern name="INTERPRET_RS_SUBMITTER/PHRASEOTHER_LIST_POP_FIX">
    <sch:rule context="/i5:EndpointStudyRecord/i5:scientificPart/i5:TO_FOOD_RESIDUES_ROT_CROP/i5:INTERPRET_RS_SUBMITTER/i5:set/i5:PHRASEOTHER_LIST_POP_FIX/i5:LIST_POP_FIX[text() = &quot;NOT_SPECIFIED&quot;]">
      <sch:assert test="normalize-space(../i5:LIST_POP_FIX.value/text()) = &quot;&quot;">
        <i5sch:error>
          <i5sch:block label="Interpretation of results" name="INTERPRET_RS_SUBMITTER" />
          <i5sch:field label="" name="PHRASEOTHER_LIST_POP_FIX" />
          <i5sch:messageID name="PHRASEOTHER_PROP_VALUE_ID_NOT_SPECIFIED_BUT_VALUE_FOUND" />
          <i5sch:value name="foundValue">
            <axsl:value-of select="normalize-space(../i5:LIST_POP_FIX.value/text())" />
          </i5sch:value>
        </i5sch:error>
      </sch:assert>
    </sch:rule>
  </sch:pattern>
</sch:schema>

