VRBL-APR-US-1p0-15
Basic Info
|
Rule
|
The value of the Response Code must be contained in UNCL4343-T111 Subset [VRBL-CL-AR-US-ResponseCode]. Allowed values: RE. |
|
Context
|
/ubl:ApplicationResponse/cac:DocumentResponse/cac:Response/cbc:ResponseCode
|
|
Pattern
|
vrbl-ar-us-dbna-1p0 |
|
Severity
|
fatal |
Used Template: CodeList
| Parameter |
|
Value |
| probe |
= |
.
|
| codeList |
= |
$VRBL-CL-AR-US-ResponseCode
|
| showValues |
= |
true
|
Implementation
not(boolean(.))
or
(
(
not(
contains(
normalize-space(.),
substring($VRBL-CL-AR-US-ResponseCode, 1, 1)
)
)
and
contains(
$VRBL-CL-AR-US-ResponseCode,
concat(
substring($VRBL-CL-AR-US-ResponseCode, 1, 1),
normalize-space(.),
substring($VRBL-CL-AR-US-ResponseCode, 1, 1)
)
)
)
)