@@ -191,17 +191,17 @@ This schematron uses business terms defined the CEN/EN16931-1 and is reproduced
191
191
<rule context =" cbc:EndpointID[@schemeID = '0088'] | cac:PartyIdentification/cbc:ID[@schemeID = '0088'] | cbc:CompanyID[@schemeID = '0088']" >
192
192
<assert id =" PEPPOL-COMMON-R040"
193
193
test=" matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())"
194
- flag=" warning" >Invalid GLN number provided .</assert >
194
+ flag=" warning" >GLN must have a valid format according to GS1 rules .</assert >
195
195
</rule >
196
196
<rule context =" cbc:EndpointID[@schemeID = '0192'] | cac:PartyIdentification/cbc:ID[@schemeID = '0192'] | cbc:CompanyID[@schemeID = '0192']" >
197
197
<assert id =" PEPPOL-COMMON-R041"
198
198
test=" matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())"
199
- flag=" fatal" >Invalid Norwegian organization number provided .</assert >
199
+ flag=" fatal" >Norwegian organization number must be stated in the correct format .</assert >
200
200
</rule >
201
201
<rule context =" cbc:EndpointID[@schemeID = '0184'] | cac:PartyIdentification/cbc:ID[@schemeID = '0184'] | cbc:CompanyID[@schemeID = '0184']" >
202
202
<assert id =" PEPPOL-COMMON-R042"
203
203
test=" (string-length(text()) = 10) and (substring(text(), 1, 2) = 'DK') and (string-length(translate(substring(text(), 3, 8), '1234567890', '')) = 0)"
204
- flag=" fatal" >Invalid Danish organization number (CVR) provided .</assert >
204
+ flag=" fatal" >Danish organization number (CVR) must be stated in the correct format .</assert >
205
205
</rule >
206
206
207
207
</pattern >
@@ -388,7 +388,7 @@ This schematron uses business terms defined the CEN/EN16931-1 and is reproduced
388
388
<rule context =" cbc:EmbeddedDocumentBinaryObject[@mimeCode]" >
389
389
<assert id =" PEPPOL-EN16931-CL001" test ="
390
390
some $code in $MIMECODE
391
- satisfies @mimeCode = $code" flag =" fatal" >Invalid mime code.</assert >
391
+ satisfies @mimeCode = $code" flag =" fatal" >Mime code must be according to subset of IANA code list .</assert >
392
392
</rule >
393
393
<rule context =" cac:AllowanceCharge[cbc:ChargeIndicator = 'false']/cbc:AllowanceChargeReasonCode" >
394
394
<assert id =" PEPPOL-EN16931-CL002" test ="
0 commit comments