Skip to content

Commit

Permalink
Merge branch 'qa' of https://github.com/OpenPEPPOL/logistics-bis into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Oct 24, 2023
2 parents 9f97ca5 + 38417af commit 14709ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/schematron/PEPPOLBIS-T120.sch
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@

<rule context="cac:DespatchLine/cac:Item/cac:CommodityClassification">
<assert id="PEPPOL-T120-R040"
test="((normalize-space(cbc:ItemClassificationCode/listID) = 'ZZZ') and (cbc:ItemClassificationCode/name)) or (normalize-space(cbc:ItemClassificationCode/listID) != 'ZZZ') or not (cbc:ItemClassificationCode)"
test="((normalize-space(cbc:ItemClassificationCode/@listID) = 'ZZZ') and (cbc:ItemClassificationCode/name)) or (normalize-space(cbc:ItemClassificationCode/@listID) != 'ZZZ') or not (cbc:ItemClassificationCode)"
flag="warning">A name must be provided if the listID is "ZZZ".</assert>
</rule>

Expand Down

0 comments on commit 14709ab

Please sign in to comment.