Skip to content

Commit cc01b35

Browse files
Generated by github actions
1 parent a7bb3da commit cc01b35

File tree

13 files changed

+49
-43
lines changed

13 files changed

+49
-43
lines changed

rules/examples/T010/TenderClarification_full.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<cac:RequestorParty>
1212
<cbc:EndpointID schemeID="9930">DE122268496</cbc:EndpointID>
1313
<cac:PartyIdentification>
14-
<cbc:ID schemeID="sample">ID-001</cbc:ID>
14+
<cbc:ID schemeID="9930">DE122268496</cbc:ID>
1515
</cac:PartyIdentification>
1616
<cac:PartyName>
1717
<cbc:Name>Example</cbc:Name>
@@ -30,9 +30,12 @@
3030
<cbc:ID schemeName="ContractFolderID">Example</cbc:ID>
3131
</cac:ParentDocumentReference>
3232
<cac:AdditionalDocumentReference>
33-
<cbc:ID schemeName="sample">ID-001</cbc:ID>
33+
<cbc:ID schemeName="ContractFolderID">ID-001</cbc:ID>
34+
<cbc:XPath>/EnquiryResponse/cac:Attachment[1]</cbc:XPath>
3435
</cac:AdditionalDocumentReference>
3536
<cac:Attachment>
36-
<cac:ExternalReference/>
37+
<cac:ExternalReference>
38+
<cbc:Description>Place your first tender clarification here.</cbc:Description>
39+
</cac:ExternalReference>
3740
</cac:Attachment>
3841
</ubl:EnquiryResponse>

target/generated/T010-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/generated/T016-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/generated/T018-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/generated/T024-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/generated/T035-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/generated/T036-basic.sch

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

target/schematron/PEPPOL-T010.sch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,10 @@
332332
<assert test="cbc:ID" flag="fatal" id="PEPPOL-T010-B02801">Element 'cbc:ID' MUST be provided.</assert>
333333
</rule>
334334
<rule context="/ubl:EnquiryResponse/cac:AdditionalDocumentReference/cbc:ID">
335-
<assert test="@schemeName" flag="fatal" id="PEPPOL-T010-B02901">Attribute 'schemeName' MUST be present.</assert>
335+
<assert test="not(@schemeName) or @schemeName = 'ContractFolderID'"
336+
flag="fatal"
337+
id="PEPPOL-T010-B02901">Attribute 'schemeName' MUST contain value 'ContractFolderID'</assert>
338+
<assert test="@schemeName" flag="fatal" id="PEPPOL-T010-B02902">Attribute 'schemeName' MUST be present.</assert>
336339
</rule>
337340
<rule context="/ubl:EnquiryResponse/cac:AdditionalDocumentReference/cbc:XPath"/>
338341
<rule context="/ubl:EnquiryResponse/cac:AdditionalDocumentReference/*">

target/schematron/PEPPOL-T016.sch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@
222222
<let name="cleas"
223223
value="tokenize('0002 0007 0009 0037 0060 0088 0096 0097 0106 0130 0135 0142 0151 0177 0183 0184 0188 0190 0191 0192 0193 0195 0196 0198 0199 0200 0201 0202 0204 0208 0209 0210 0211 0212 0213 0215 0216 0218 0221 0230 0235 9910 9913 9914 9915 9918 9919 9920 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9957 9959 0147 0154 0158 0170 0194 0203 0205 0217 0225 0240 0244', '\s')"/>
224224
<let name="clnoticeResponse" value="tokenize('RE AP CA PU', '\s')"/>
225-
<let name="clpublicationCondition" value="tokenize('TST FCST EFF', '\s')"/>
226225
<let name="clStatusReason" value="tokenize('BV BW SV', '\s')"/>
226+
<let name="clpublicationCondition" value="tokenize('TST FCST EFF', '\s')"/>
227227
<rule context="/ubl:ApplicationResponse">
228228
<assert test="cbc:UBLVersionID" flag="fatal" id="PEPPOL-T016-B00101">Element 'cbc:UBLVersionID' MUST be provided.</assert>
229229
<assert test="cbc:CustomizationID" flag="fatal" id="PEPPOL-T016-B00102">Element 'cbc:CustomizationID' MUST be provided.</assert>

target/schematron/PEPPOL-T018.sch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@
219219
</rule>
220220
</pattern>
221221
<pattern xmlns:ns2="http://www.schematron-quickfix.com/validator/process">
222-
<let name="clmessageResponse" value="tokenize('RE AP CA', '\s')"/>
223222
<let name="cleas"
224223
value="tokenize('0002 0007 0009 0037 0060 0088 0096 0097 0106 0130 0135 0142 0151 0177 0183 0184 0188 0190 0191 0192 0193 0195 0196 0198 0199 0200 0201 0202 0204 0208 0209 0210 0211 0212 0213 0215 0216 0218 0221 0230 0235 9910 9913 9914 9915 9918 9919 9920 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9957 9959 0147 0154 0158 0170 0194 0203 0205 0217 0225 0240 0244', '\s')"/>
224+
<let name="clmessageResponse" value="tokenize('RE AP CA', '\s')"/>
225225
<let name="clStatusReason" value="tokenize('BV BW SV', '\s')"/>
226226
<rule context="/ubl:ApplicationResponse">
227227
<assert test="cbc:UBLVersionID" flag="fatal" id="PEPPOL-T018-B00101">Element 'cbc:UBLVersionID' MUST be provided.</assert>

0 commit comments

Comments
 (0)