Skip to content

Commit 8583004

Browse files
committed
fix
1 parent 325b331 commit 8583004

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/sch/parts/PEPPOL-M-T005.sch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
</rule>
5656

5757
<rule context="ubl:Tender/cac:DocumentReference/cac:Attachment">
58-
<assert id="PEPPOL-T005-R023" flag="fatal" test="exists(cbc:DocumentHash)">[PEPPOL-T005-R023] An Attachment MUST have a document hash</assert>
59-
<assert id="PEPPOL-T005-R024" flag="fatal" test="exists(cbc:HashAlgorithmMethod)">[PEPPOL-T005-R024] An Attachment MUST have a hash algorithm method</assert>
60-
<assert id="PEPPOL-T005-R025" flag="fatal" test="normalize-space(cbc:HashAlgorithmMethod) = 'http://www.w3.org/2001/04/xmlenc#sha256'">[PEPPOL-T005-R025] Hash Algorithm MUST be SHA-256 (http://www.w3.org/2001/04/xmlenc#sha256)</assert>
58+
<assert id="PEPPOL-T005-R023" flag="fatal" test="exists(cac:ExternalReferencecbc:DocumentHash)">[PEPPOL-T005-R023] An Attachment MUST have a document hash</assert>
59+
<assert id="PEPPOL-T005-R024" flag="fatal" test="exists(cac:ExternalReferencec/cbc:HashAlgorithmMethod)">[PEPPOL-T005-R024] An Attachment MUST have a hash algorithm method</assert>
60+
<assert id="PEPPOL-T005-R025" flag="fatal" test="normalize-space(cac:ExternalReferencec/cbc:HashAlgorithmMethod) = 'http://www.w3.org/2001/04/xmlenc#sha256'">[PEPPOL-T005-R025] Hash Algorithm MUST be SHA-256 (http://www.w3.org/2001/04/xmlenc#sha256)</assert>
6161
</rule>
6262

6363
<rule context="ubl:Tender/cac:DocumentReference/cac:Attachment/cac:ExternalReference">

0 commit comments

Comments
 (0)