VRBL-INV-CH-YELLOWBILL-3p0-33
Basic Info
|
Rule
|
The value of the Attachment Mime Code must be contained in Mime Code [VRBL-CL-CH-MimeCode]. |
|
Context
|
/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject
|
|
Pattern
|
vrbl-ch-yellowbill-3p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
@mimeCode
|
| codeList |
= |
$VRBL-CL-CH-MimeCode
|
Implementation
not(boolean(@mimeCode))
or
(
(
not(
contains(
normalize-space(@mimeCode),
substring($VRBL-CL-CH-MimeCode, 1, 1)
)
)
and
contains(
$VRBL-CL-CH-MimeCode,
concat(
substring($VRBL-CL-CH-MimeCode, 1, 1),
normalize-space(@mimeCode),
substring($VRBL-CL-CH-MimeCode, 1, 1)
)
)
)
)