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
When using recent versions of metaschema-java, when using functions with multiple parameters, the parser builds a concrete syntax tree and drops parameters and by index reuses the previous arguments to overwrite the value. This parsing error leads to incorrect results from function calls.
Who is the bug affecting
Developers using Metaschema-enabled software and Metapath-based constraints for model-based documents with Metapath functions that have more than one parameter.
How do we replicate this issue
Use the metaschema-cli to evaluate the function below or run the following unit test.
Describe the bug
When using recent versions of metaschema-java, when using functions with multiple parameters, the parser builds a concrete syntax tree and drops parameters and by index reuses the previous arguments to overwrite the value. This parsing error leads to incorrect results from function calls.
Who is the bug affecting
Developers using Metaschema-enabled software and Metapath-based constraints for model-based documents with Metapath functions that have more than one parameter.
How do we replicate this issue
Expected behavior (i.e. solution)
The function successfully evaluates to
b
(an item of typemeta:string
.Other comments
No response
The text was updated successfully, but these errors were encountered: