Skip to content

Commit

Permalink
update validation files
Browse files Browse the repository at this point in the history
  • Loading branch information
psotofer committed Feb 21, 2022
1 parent c208610 commit 085c996
Show file tree
Hide file tree
Showing 34 changed files with 10,119 additions and 10,058 deletions.
16 changes: 8 additions & 8 deletions validation/ESPDRequest/sch/01-ESPD-codelist-values.sch

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion validation/ESPDRequest/sch/02-ESPD-req-cardinality-br.sch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Start of synthesis of rules from cardinality constraints ESPD Request.
Illustration of cardinality constraints - 02-ESPD-req-cardinality-br.sch
ESPD Version: 3.0.0
ESPD Version: 3.0.1
-->

<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="BR-REQ-CARD">
Expand Down
2 changes: 1 addition & 1 deletion validation/ESPDRequest/sch/03-ESPD-req-criterion-br.sch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Start of synthesis of rules from criterion constraints ESPD Request.
Illustration of criterion constraints - 03-ESPD-req-criterion-br.sch
ESPD Version: 3.0.0
ESPD Version: 3.0.1
-->

<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="BR-REQ-CR">
Expand Down
2 changes: 1 addition & 1 deletion validation/ESPDRequest/sch/04-ESPD-req-other-br.sch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Start of synthesis of rules from other constraints ESPD Request
Illustration of procurer constraints - 04-ESPD-req-other-br.sch
ESPD Version: 3.0.0
ESPD Version: 3.0.1
-->

<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="BR-REQ-OTHER">
Expand Down
2 changes: 1 addition & 1 deletion validation/ESPDRequest/sch/05-ESPD-req-procurer-br.sch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Start of synthesis of rules from procurer constraints ESPD Request
Illustration of procurer constraints - 05-ESPD-req-procurer-br.sch
ESPD Version: 3.0.0
ESPD Version: 3.0.1
-->

<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="BR-REQ-PROC">
Expand Down
2 changes: 1 addition & 1 deletion validation/ESPDRequest/sch/05-ESPD-req-specific-br.sch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Start of synthesis of rules from other constraints ESPD Request
Illustration of procurer constraints - 05-ESPD-req-specific-br.sch
ESPD Version: 3.0.0
ESPD Version: 3.0.1
-->

<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="BR-REQ-SC">
Expand Down
16 changes: 8 additions & 8 deletions validation/ESPDRequest/xsl/01-ESPD-codelist-values.xsl

Large diffs are not rendered by default.

396 changes: 114 additions & 282 deletions validation/ESPDRequest/xsl/01-ESPD-common-cl-attributes.xsl

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions validation/ESPDRequest/xsl/03-ESPD-common-criterion-br.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
<xsl:variable name="currentID" select="cbc:ID"/>
<xsl:variable name="currentIDExist" select="(cbc:ID) and not(normalize-space(cbc:ID) = '')"/>
<xsl:variable name="ElementUUID"
select="document('ESPD-criterion.V3.0.0.xml')//cac:TenderingCriterion[cbc:ID = $currentID]"/>
select="document('ESPD-criterion.xml')//cac:TenderingCriterion[cbc:ID = $currentID]"/>
<xsl:variable name="ElementUUIDExists" select="(count($ElementUUID/cbc:ID) = 1)"/>

<!--ASSERT -->
Expand Down Expand Up @@ -385,11 +385,11 @@
<xsl:variable name="currentCode" select="cbc:PropertyGroupTypeCode"/>
<xsl:variable name="parentID" select="ancestor::*[1]/cbc:ID"/>
<xsl:variable name="ElementUUID_SUB"
select="document('ESPD-criterion.V3.0.0.xml')//cac:SubsidiaryTenderingCriterionPropertyGroup[cbc:ID = $currentID]"/>
select="document('ESPD-criterion.xml')//cac:SubsidiaryTenderingCriterionPropertyGroup[cbc:ID = $currentID]"/>
<xsl:variable name="ParentUUID_SUB"
select="$ElementUUID_SUB[parent::*[cbc:ID = $parentID]][1]"/>
<xsl:variable name="ElementUUID_T"
select="document('ESPD-criterion.V3.0.0.xml')//cac:TenderingCriterionPropertyGroup[cbc:ID = $currentID]"/>
select="document('ESPD-criterion.xml')//cac:TenderingCriterionPropertyGroup[cbc:ID = $currentID]"/>
<xsl:variable name="ParentUUID_T" select="$ElementUUID_T[parent::*[cbc:ID = $parentID]][1]"/>
<xsl:variable name="ElementUUID_TExists" select="(count($ParentUUID_T/cbc:ID) &gt; 0)"/>
<xsl:variable name="ElementUUID_SUBExists" select="(count($ParentUUID_SUB/cbc:ID) &gt; 0)"/>
Expand Down Expand Up @@ -626,10 +626,10 @@
<xsl:variable name="currentValueData" select="cbc:ValueDataTypeCode"/>
<xsl:variable name="TCPropertyGroupID" select="ancestor::*[1]/cbc:ID"/>
<xsl:variable name="ElementUUIDSTC"
select="document('ESPD-criterion.V3.0.0.xml')//cac:SubsidiaryTenderingCriterionPropertyGroup[cbc:ID = $TCPropertyGroupID][1]/cac:TenderingCriterionProperty"/>
select="document('ESPD-criterion.xml')//cac:SubsidiaryTenderingCriterionPropertyGroup[cbc:ID = $TCPropertyGroupID][1]/cac:TenderingCriterionProperty"/>
<xsl:variable name="ElementUUID_STCExists" select="(count($ElementUUIDSTC) &gt; 0)"/>
<xsl:variable name="ElementUUIDTC"
select="document('ESPD-criterion.V3.0.0.xml')//cac:TenderingCriterionPropertyGroup[cbc:ID = $TCPropertyGroupID][1]/cac:TenderingCriterionProperty"/>
select="document('ESPD-criterion.xml')//cac:TenderingCriterionPropertyGroup[cbc:ID = $TCPropertyGroupID][1]/cac:TenderingCriterionProperty"/>
<xsl:variable name="ElementUUID_TCExists" select="(count($ElementUUIDTC) &gt; 0)"/>
<xsl:variable name="ElementUUIDExists"
select="$ElementUUID_TCExists or $ElementUUID_STCExists"/>
Expand Down
3,748 changes: 1,874 additions & 1,874 deletions validation/ESPDRequest/xsl/ESPD-criterion.xml

Large diffs are not rendered by default.

169 changes: 169 additions & 0 deletions validation/ESPDRequest/xsl/criterionList.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
<?xml version="1.0" encoding="UTF-8"?>

<criteria>
<exclusion-criterion type='conviction'>
<name>crime-org</name>
</exclusion-criterion>
<exclusion-criterion type='conviction'>
<name>corruption</name>
</exclusion-criterion>
<exclusion-criterion type='conviction'>
<name>fraud</name>
</exclusion-criterion>
<exclusion-criterion type='conviction'>
<name>terr-offence</name>
</exclusion-criterion>
<exclusion-criterion type='conviction'>
<name>finan-laund</name>
</exclusion-criterion>
<exclusion-criterion type='conviction'>
<name>human-traffic</name>
</exclusion-criterion>
<exclusion-criterion type='contributions'>
<name>tax-pay</name>
</exclusion-criterion>
<exclusion-criterion type='contributions'>
<name>socsec-pay</name>
</exclusion-criterion>
<exclusion-criterion>
<name>envir-law</name>
</exclusion-criterion>
<exclusion-criterion>
<name>socsec-law</name>
</exclusion-criterion>
<exclusion-criterion>
<name>labour-law</name>
</exclusion-criterion>
<exclusion-criterion>
<name>bankruptcy</name>
</exclusion-criterion>
<exclusion-criterion>
<name>insolvency</name>
</exclusion-criterion>
<exclusion-criterion>
<name>cred-arran</name>
</exclusion-criterion>
<exclusion-criterion>
<name>bankr-nat</name>
</exclusion-criterion>
<exclusion-criterion>
<name>liq-admin</name>
</exclusion-criterion>
<exclusion-criterion>
<name>susp-act</name>
</exclusion-criterion>
<exclusion-criterion>
<name>prof-misconduct</name>
</exclusion-criterion>
<exclusion-criterion>
<name>distorsion</name>
</exclusion-criterion>
<exclusion-criterion>
<name>partic-confl</name>
</exclusion-criterion>
<exclusion-criterion>
<name>prep-confl</name>
</exclusion-criterion>
<exclusion-criterion>
<name>sanction</name>
</exclusion-criterion>
<exclusion-criterion>
<name>misinterpr</name>
</exclusion-criterion>
<exclusion-criterion>
<name>nati-ground</name>
</exclusion-criterion>
<selection-criterion>
<name>prof-regist</name>
</selection-criterion>
<selection-criterion>
<name>trade-regist</name>
</selection-criterion>
<selection-criterion>
<name>autorisation</name>
</selection-criterion>
<selection-criterion>
<name>membership</name>
</selection-criterion>
<selection-criterion>
<name>gen-year-to</name>
</selection-criterion>
<selection-criterion>
<name>aver-year-to</name>
</selection-criterion>
<selection-criterion>
<name>spec-aver-to</name>
</selection-criterion>
<selection-criterion>
<name>spec-year-to</name>
</selection-criterion>
<selection-criterion>
<name>finan-rat</name>
</selection-criterion>
<selection-criterion>
<name>indem-insu</name>
</selection-criterion>
<selection-criterion>
<name>finan-requ</name>
</selection-criterion>
<selection-criterion>
<name>work-perform</name>
</selection-criterion>
<selection-criterion>
<name>supply-perform</name>
</selection-criterion>
<selection-criterion>
<name> service-perform</name>
</selection-criterion>
<selection-criterion>
<name>qual-cont-tech</name>
</selection-criterion>
<selection-criterion>
<name>work-tech</name>
</selection-criterion>
<selection-criterion>
<name>qual-facil</name>
</selection-criterion>
<selection-criterion>
<name>research-fac</name>
</selection-criterion>
<selection-criterion>
<name>chain-manage</name>
</selection-criterion>
<selection-criterion>
<name>qualification</name>
</selection-criterion>
<selection-criterion>
<name>envir-measure</name>
</selection-criterion>
<selection-criterion>
<name>tech-equip</name>
</selection-criterion>
<selection-criterion>
<name>spec-req-check</name>
</selection-criterion>
<selection-criterion>
<name>manage-staff</name>
</selection-criterion>
<selection-criterion>
<name>year-manpower</name>
</selection-criterion>
<selection-criterion>
<name>suncont-port</name>
</selection-criterion>
<selection-criterion>
<name>wo-autent</name>
</selection-criterion>
<selection-criterion>
<name>w-autent</name>
</selection-criterion>
<selection-criterion>
<name>qa-certif-inst</name>
</selection-criterion>
<selection-criterion>
<name>qu-certif-indep</name>
</selection-criterion>
<selection-criterion>
<name>envir-certif-indep</name>
</selection-criterion>
</criteria>
Loading

0 comments on commit 085c996

Please sign in to comment.