Skip to content

Assert expression for BT-05(a)-notice (and similar), how should it work? #285

Answered by rousso
eduardsmirnov asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @eduardsmirnov,

Apologies for the delayed reaction to your question.

The short answer is: whatever you do with your validation the result should be the same as if you validated using XPath.

There are two constraints in the specific assertion. Both should evaluate to true for the assertion to succeed.
Indeed the second constraint in compares a single value (BT-05(a)-notice) with a set of values (BT-131(d)-Lot). The comparison translates that as "the left operant must be greater than every value in the right operand sequence). Therefore, that's what your validation shoul1d yield.

I hope that helps.
Yannis

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed efx-grammar Related to the EFX grammar (syntax, concepts etc)
2 participants