You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p:assert functions as an assert in other languages, such as xsl. It takes in a XPathExpression coerced to a boolean if required, and throws a dynamic error if the assertion fails.
I am not sure if collection? is required here, I don't use it. It may be useful for this step to have a port that can be used to construct the error, akin to p:error.
The text was updated successfully, but these errors were encountered:
I suppose you are suggesting adding a p:assert to the step library? That sounds like something for the https://github.com/xproc/Vnext repository... Shall I transfer it to there?
p:assert
functions as an assert in other languages, such asxsl
. It takes in a XPathExpression coerced to a boolean if required, and throws a dynamic error if the assertion fails.I am not sure if
collection?
is required here, I don't use it. It may be useful for this step to have a port that can be used to construct the error, akin top:error
.The text was updated successfully, but these errors were encountered: