<?xml version="1.0" encoding="UTF-8"?>
<svrl:schematron-output xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        xmlns:error="https://doi.org/10.5281/zenodo.1495494#error"
                        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                        xmlns:schxslt-api="https://doi.org/10.5281/zenodo.1495494#api"
                        xmlns:schxslt="https://doi.org/10.5281/zenodo.1495494"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
                        xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
                        title="UBL 2.5 Default Data Type Qualifications">
   <svrl:ns-prefix-in-attribute-values prefix="ext"
                                       uri="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"/>
   <svrl:ns-prefix-in-attribute-values prefix="cbc"
                                       uri="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"/>
   <svrl:metadata xmlns:dct="http://purl.org/dc/terms/"
                  xmlns:skos="http://www.w3.org/2004/02/skos/core#">
      <dct:creator>
         <dct:Agent>
            <skos:prefLabel>SAXON/HE 9.8.0.15</skos:prefLabel>
         </dct:Agent>
      </dct:creator>
      <dct:created>2026-02-09T15:17:12.95Z</dct:created>
      <dct:source>
         <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/">
            <dct:creator>
               <dct:Agent>
                  <skos:prefLabel>SchXslt/1.9.4 SAXON/HE 9.8.0.15</skos:prefLabel>
                  <schxslt.compile.typed-variables xmlns="https://doi.org/10.5281/zenodo.1495494#">true</schxslt.compile.typed-variables>
               </dct:Agent>
            </dct:creator>
            <dct:created>2026-02-09T15:16:19.791Z</dct:created>
         </rdf:Description>
      </dct:source>
   </svrl:metadata>
   <svrl:active-pattern name="UBL-DataTypeQualifications-2.5"
                        id="UBL-DataTypeQualifications-2.5"
                        documents="file:/home/runner/work/ubl/ubl/target/csd03-2.5/val/order-test-bad-code.xml"/>
   <svrl:fired-rule context="cbc:IdentificationCode"/>
   <svrl:fired-rule context="cbc:ChannelCode"/>
   <svrl:failed-assert location="/Q{urn:oasis:names:specification:ubl:schema:xsd:Order-2}Order[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}BuyerCustomerParty[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Party[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OtherCommunication[1]/Q{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ChannelCode[1]"
                       test="( false() or ( ( not(@listName!='Communication Address Code Qualifier') ) and ( not(@listID!='UN/ECE 3155') ) and ( not(@listVersionID!='D03A') ) and ( not(@listSchemeURI!='urn:oasis:names:specification:ubl:codelist:gc:ChannelCode') ) and ( not(@listURI!='http://docs.oasis-open.org/ubl/os-UBL-2.0-update/cl/gc/default/ChannelCode-2.0.gc') ) and ( not(@listAgencyName!='United Nations Economic Commission for Europe') ) and ( not(@listAgencyID!='6') ) and contains('&#x7f;AA&#x7f;AB&#x7f;AC&#x7f;AD&#x7f;AE&#x7f;AF&#x7f;AG&#x7f;AH&#x7f;AI&#x7f;AJ&#x7f;AK&#x7f;AL&#x7f;AM&#x7f;AN&#x7f;AO&#x7f;AP&#x7f;CA&#x7f;EI&#x7f;EM&#x7f;EX&#x7f;FT&#x7f;FX&#x7f;GM&#x7f;IE&#x7f;IM&#x7f;MA&#x7f;PB&#x7f;PS&#x7f;SW&#x7f;TE&#x7f;TG&#x7f;TL&#x7f;TM&#x7f;TT&#x7f;TX&#x7f;XF&#x7f;XG&#x7f;XH&#x7f;XI&#x7f;XJ&#x7f;',concat('&#x7f;',.,'&#x7f;')) ) or ( ( not(@listName!='Channel Code') ) and ( not(@listID!='') ) and ( not(@listVersionID!='D10B') ) and ( not(@listSchemeURI!='urn:un:unece:uncefact:codelist:standard:UNECE:CommunicationMeansTypeCode') ) and ( not(@listURI!='http://docs.oasis-open.org/ubl/os-UBL-2.1/cl/gc/default/ChannelCode-2.1.gc') ) and ( not(@listAgencyName!='United Nations Economic Commission for Europe') ) and ( not(@listAgencyID!='6') ) and contains('&#x7f;AA&#x7f;AB&#x7f;AC&#x7f;AD&#x7f;AE&#x7f;AF&#x7f;AG&#x7f;AH&#x7f;AI&#x7f;AJ&#x7f;AK&#x7f;AL&#x7f;AM&#x7f;AN&#x7f;AO&#x7f;AP&#x7f;AQ&#x7f;AR&#x7f;AS&#x7f;AT&#x7f;AU&#x7f;AV&#x7f;AW&#x7f;CA&#x7f;EI&#x7f;EM&#x7f;EX&#x7f;FT&#x7f;FX&#x7f;GM&#x7f;IE&#x7f;IM&#x7f;MA&#x7f;PB&#x7f;PS&#x7f;SW&#x7f;TE&#x7f;TG&#x7f;TL&#x7f;TM&#x7f;TT&#x7f;TX&#x7f;XF&#x7f;XG&#x7f;XH&#x7f;XI&#x7f;XJ&#x7f;',concat('&#x7f;',.,'&#x7f;')) ) or ( ( not(@listName!='Channel Code') ) and ( not(@listID!='UN/EDIFACT EDED 3155') ) and ( not(@listVersionID!='17B') ) and ( not(@listSchemeURI!='urn:oasis:names:specification:ubl:codelist:gc:ChannelCode') ) and ( not(@listURI!='http://docs.oasis-open.org/ubl/os-UBL-2.2/cl/gc/default/ChannelCode-2.2.gc') ) and ( not(@listAgencyName!='United Nations Economic Commission for Europe') ) and ( not(@listAgencyID!='6') ) and contains('&#x7f;AA&#x7f;AB&#x7f;AC&#x7f;AD&#x7f;AE&#x7f;AF&#x7f;AG&#x7f;AH&#x7f;AI&#x7f;AJ&#x7f;AK&#x7f;AL&#x7f;AM&#x7f;AN&#x7f;AO&#x7f;AP&#x7f;AQ&#x7f;AR&#x7f;AS&#x7f;AT&#x7f;AU&#x7f;AV&#x7f;AW&#x7f;CA&#x7f;EI&#x7f;EM&#x7f;EX&#x7f;FT&#x7f;FX&#x7f;GM&#x7f;IE&#x7f;IM&#x7f;MA&#x7f;PB&#x7f;PS&#x7f;SW&#x7f;TE&#x7f;TG&#x7f;TL&#x7f;TM&#x7f;TT&#x7f;TX&#x7f;XF&#x7f;XG&#x7f;XH&#x7f;XI&#x7f;XJ&#x7f;',concat('&#x7f;',.,'&#x7f;')) ) or ( ( not(@listName!='Channel Code') ) and ( not(@listID!='UN/EDIFACT EDED 3155') ) and ( not(@listVersionID!='18B') ) and ( not(@listSchemeURI!='urn:oasis:names:specification:ubl:codelist:gc:ChannelCode') ) and ( not(@listURI!='http://docs.oasis-open.org/ubl/os-UBL-2.3/cl/gc/default/ChannelCode-2.3.gc') ) and ( not(@listAgencyName!='United Nations Economic Commission for Europe') ) and ( not(@listAgencyID!='6') ) and contains('&#x7f;AA&#x7f;AB&#x7f;AC&#x7f;AD&#x7f;AE&#x7f;AF&#x7f;AG&#x7f;AH&#x7f;AI&#x7f;AJ&#x7f;AK&#x7f;AL&#x7f;AM&#x7f;AN&#x7f;AO&#x7f;AP&#x7f;AQ&#x7f;AR&#x7f;AS&#x7f;AT&#x7f;AU&#x7f;AV&#x7f;AW&#x7f;CA&#x7f;EI&#x7f;EM&#x7f;EX&#x7f;FT&#x7f;FX&#x7f;GM&#x7f;IE&#x7f;IM&#x7f;MA&#x7f;PB&#x7f;PS&#x7f;SW&#x7f;TE&#x7f;TG&#x7f;TL&#x7f;TM&#x7f;TT&#x7f;TX&#x7f;XF&#x7f;XG&#x7f;XH&#x7f;XI&#x7f;XJ&#x7f;',concat('&#x7f;',.,'&#x7f;')) ) or ( ( not(@listName!='Channel Code') ) and ( not(@listID!='UN/EDIFACT EDED 3155') ) and ( not(@listVersionID!='18B') ) and ( not(@listSchemeURI!='urn:oasis:names:specification:ubl:codelist:gc:ChannelCode') ) and ( not(@listURI!='http://docs.oasis-open.org/ubl/os-UBL-2.3/cl/gc/default/ChannelCode-2.3.gc') ) and ( not(@listAgencyName!='United Nations Economic Commission for Europe') ) and ( not(@listAgencyID!='6') ) and contains('&#x7f;AA&#x7f;AB&#x7f;AC&#x7f;AD&#x7f;AE&#x7f;AF&#x7f;AG&#x7f;AH&#x7f;AI&#x7f;AJ&#x7f;AK&#x7f;AL&#x7f;AM&#x7f;AN&#x7f;AO&#x7f;AP&#x7f;AQ&#x7f;AR&#x7f;AS&#x7f;AT&#x7f;AU&#x7f;AV&#x7f;AW&#x7f;CA&#x7f;EI&#x7f;EM&#x7f;EX&#x7f;FT&#x7f;FX&#x7f;GM&#x7f;IE&#x7f;IM&#x7f;MA&#x7f;PB&#x7f;PS&#x7f;SW&#x7f;TE&#x7f;TG&#x7f;TL&#x7f;TM&#x7f;TT&#x7f;TX&#x7f;XF&#x7f;XG&#x7f;XH&#x7f;XI&#x7f;XJ&#x7f;',concat('&#x7f;',.,'&#x7f;')) ) ) ">
      <svrl:text>Value supplied 'LA' is unacceptable for constraints identified by 'Channel-2.0 Channel-2.1 Channel-2.2 Channel-2.3 Channel-2.4' in the context 'cbc:ChannelCode'</svrl:text>
   </svrl:failed-assert>
   <svrl:fired-rule context="cbc:IdentificationCode"/>
   <svrl:fired-rule context="cbc:IdentificationCode"/>
   <svrl:fired-rule context="cbc:IdentificationCode"/>
   <svrl:fired-rule context="@currencyID"/>
   <svrl:fired-rule context="@currencyID"/>
   <svrl:fired-rule context="cbc:LineStatusCode"/>
   <svrl:fired-rule context="cbc:ActualTemperatureReductionQuantity/@unitCode | cbc:BackorderQuantity/@unitCode | cbc:BaseQuantity/@unitCode | cbc:BasicConsumedQuantity/@unitCode | cbc:BatchQuantity/@unitCode | cbc:ChargeableQuantity/@unitCode | cbc:ChildConsignmentQuantity/@unitCode | cbc:ConsignmentQuantity/@unitCode | cbc:ConsumerUnitQuantity/@unitCode | cbc:ConsumptionEnergyQuantity/@unitCode | cbc:ConsumptionWaterQuantity/@unitCode | cbc:ContentUnitQuantity/@unitCode | cbc:CreditedQuantity/@unitCode | cbc:CrewQuantity/@unitCode | cbc:CustomsTariffQuantity/@unitCode | cbc:DebitedQuantity/@unitCode | cbc:DeliveredQuantity/@unitCode | cbc:DifferenceTemperatureReductionQuantity/@unitCode | cbc:EmployeeQuantity/@unitCode | cbc:EstimatedConsumedQuantity/@unitCode | cbc:EstimatedOverallContractQuantity/@unitCode | cbc:ExpectedOperatorQuantity/@unitCode | cbc:ExpectedQuantity/@unitCode | cbc:GasPressureQuantity/@unitCode | cbc:InvoicedQuantity/@unitCode | cbc:LatestMeterQuantity/@unitCode | cbc:MaximumBackorderQuantity/@unitCode | cbc:MaximumOperatorQuantity/@unitCode | cbc:MaximumOrderQuantity/@unitCode | cbc:MaximumQuantity/@unitCode | cbc:MaximumVariantQuantity/@unitCode | cbc:MinimumBackorderQuantity/@unitCode | cbc:MinimumInventoryQuantity/@unitCode | cbc:MinimumOrderQuantity/@unitCode | cbc:MinimumQuantity/@unitCode | cbc:MultipleOrderQuantity/@unitCode | cbc:NormalTemperatureReductionQuantity/@unitCode | cbc:OperatingYearsQuantity/@unitCode | cbc:OutstandingQuantity/@unitCode | cbc:OversupplyQuantity/@unitCode | cbc:PackQuantity/@unitCode | cbc:PassengerQuantity/@unitCode | cbc:PerformanceValueQuantity/@unitCode | cbc:PreviousMeterQuantity/@unitCode | cbc:Quantity/@unitCode | cbc:ReceivedElectronicTenderQuantity/@unitCode | cbc:ReceivedForeignTenderQuantity/@unitCode | cbc:ReceivedQuantity/@unitCode | cbc:ReceivedTenderQuantity/@unitCode | cbc:RejectedQuantity/@unitCode | cbc:ResponseQuantity/@unitCode | cbc:ReturnableQuantity/@unitCode | cbc:SharesNumberQuantity/@unitCode | cbc:ShortQuantity/@unitCode | cbc:TanksExchangedQuantity/@unitCode | cbc:TanksInBallastQuantity/@unitCode | cbc:TanksNotExchangedQuantity/@unitCode | cbc:TargetInventoryQuantity/@unitCode | cbc:ThresholdQuantity/@unitCode | cbc:TimeDeltaDaysQuantity/@unitCode | cbc:TotalBallastTanksOnBoardQuantity/@unitCode | cbc:TotalConsumedQuantity/@unitCode | cbc:TotalDeadPersonQuantity/@unitCode | cbc:TotalDeliveredQuantity/@unitCode | cbc:TotalGoodsItemQuantity/@unitCode | cbc:TotalIllPersonQuantity/@unitCode | cbc:TotalMeteredQuantity/@unitCode | cbc:TotalPackageQuantity/@unitCode | cbc:TotalPackagesQuantity/@unitCode | cbc:TotalTransportHandlingUnitQuantity/@unitCode | cbc:ValueQuantity/@unitCode | cbc:VarianceQuantity/@unitCode"/>
   <svrl:fired-rule context="@currencyID"/>
   <svrl:fired-rule context="@currencyID"/>
   <svrl:fired-rule context="@currencyID"/>
   <svrl:fired-rule context="cbc:ActualTemperatureReductionQuantity/@unitCode | cbc:BackorderQuantity/@unitCode | cbc:BaseQuantity/@unitCode | cbc:BasicConsumedQuantity/@unitCode | cbc:BatchQuantity/@unitCode | cbc:ChargeableQuantity/@unitCode | cbc:ChildConsignmentQuantity/@unitCode | cbc:ConsignmentQuantity/@unitCode | cbc:ConsumerUnitQuantity/@unitCode | cbc:ConsumptionEnergyQuantity/@unitCode | cbc:ConsumptionWaterQuantity/@unitCode | cbc:ContentUnitQuantity/@unitCode | cbc:CreditedQuantity/@unitCode | cbc:CrewQuantity/@unitCode | cbc:CustomsTariffQuantity/@unitCode | cbc:DebitedQuantity/@unitCode | cbc:DeliveredQuantity/@unitCode | cbc:DifferenceTemperatureReductionQuantity/@unitCode | cbc:EmployeeQuantity/@unitCode | cbc:EstimatedConsumedQuantity/@unitCode | cbc:EstimatedOverallContractQuantity/@unitCode | cbc:ExpectedOperatorQuantity/@unitCode | cbc:ExpectedQuantity/@unitCode | cbc:GasPressureQuantity/@unitCode | cbc:InvoicedQuantity/@unitCode | cbc:LatestMeterQuantity/@unitCode | cbc:MaximumBackorderQuantity/@unitCode | cbc:MaximumOperatorQuantity/@unitCode | cbc:MaximumOrderQuantity/@unitCode | cbc:MaximumQuantity/@unitCode | cbc:MaximumVariantQuantity/@unitCode | cbc:MinimumBackorderQuantity/@unitCode | cbc:MinimumInventoryQuantity/@unitCode | cbc:MinimumOrderQuantity/@unitCode | cbc:MinimumQuantity/@unitCode | cbc:MultipleOrderQuantity/@unitCode | cbc:NormalTemperatureReductionQuantity/@unitCode | cbc:OperatingYearsQuantity/@unitCode | cbc:OutstandingQuantity/@unitCode | cbc:OversupplyQuantity/@unitCode | cbc:PackQuantity/@unitCode | cbc:PassengerQuantity/@unitCode | cbc:PerformanceValueQuantity/@unitCode | cbc:PreviousMeterQuantity/@unitCode | cbc:Quantity/@unitCode | cbc:ReceivedElectronicTenderQuantity/@unitCode | cbc:ReceivedForeignTenderQuantity/@unitCode | cbc:ReceivedQuantity/@unitCode | cbc:ReceivedTenderQuantity/@unitCode | cbc:RejectedQuantity/@unitCode | cbc:ResponseQuantity/@unitCode | cbc:ReturnableQuantity/@unitCode | cbc:SharesNumberQuantity/@unitCode | cbc:ShortQuantity/@unitCode | cbc:TanksExchangedQuantity/@unitCode | cbc:TanksInBallastQuantity/@unitCode | cbc:TanksNotExchangedQuantity/@unitCode | cbc:TargetInventoryQuantity/@unitCode | cbc:ThresholdQuantity/@unitCode | cbc:TimeDeltaDaysQuantity/@unitCode | cbc:TotalBallastTanksOnBoardQuantity/@unitCode | cbc:TotalConsumedQuantity/@unitCode | cbc:TotalDeadPersonQuantity/@unitCode | cbc:TotalDeliveredQuantity/@unitCode | cbc:TotalGoodsItemQuantity/@unitCode | cbc:TotalIllPersonQuantity/@unitCode | cbc:TotalMeteredQuantity/@unitCode | cbc:TotalPackageQuantity/@unitCode | cbc:TotalPackagesQuantity/@unitCode | cbc:TotalTransportHandlingUnitQuantity/@unitCode | cbc:ValueQuantity/@unitCode | cbc:VarianceQuantity/@unitCode"/>
</svrl:schematron-output>
