<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="mdq.xsd" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mdq:DQ_DataQuality xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://standards.iso.org/iso/19157/-2/mdq/1.0 mdq.xsd"
   xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0"
   xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0"
   xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0"
   xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/1.0">
   <!-- 
   This is a sample invalid metadata record for the mdq namespace schematron rules.
   
   Rule:
   If measureIdentification is not provided,then nameOfMeasure shall be provided.
   -->
   <mdq:scope gco:nilReason="inapplicable"/>
   <mdq:report>
      <!-- report with no measureIdentification or nameOfMeasure -->
      <mdq:DQ_ConceptualConsistency>
         <mdq:measure>
            <mdq:DQ_MeasureReference>
               <mdq:measureDescription>
                  <gco:CharacterString>This DQ_MeasureReference has no measureIdentification or nameOfMeasure</gco:CharacterString>
               </mdq:measureDescription>
            </mdq:DQ_MeasureReference>
         </mdq:measure>
         <mdq:result gco:nilReason="inapplicable"/>
      </mdq:DQ_ConceptualConsistency>
   </mdq:report>
   <mdq:report>
      <!-- report with nameOfMeasure -->
      <mdq:DQ_ConceptualConsistency>
         <mdq:measure>
            <mdq:DQ_MeasureReference>
               <!-- Values MUST be provided for measureIdentification or nameOfMeasure-->
               <mdq:measureIdentification gco:nilReason="missing"/>
               <mdq:nameOfMeasure gco:nilReason="missing"/>
            </mdq:DQ_MeasureReference>
         </mdq:measure>
         <mdq:result gco:nilReason="inapplicable"/>
      </mdq:DQ_ConceptualConsistency>
   </mdq:report>
</mdq:DQ_DataQuality>
