This content has been marked as final. Show 3 replies
You need to use <number-val> for all numeric values, including currency.
Thanks for your answer!
I tried that and it worked. So that seems to be the solution.
One question that still bothers me is that when I export a test case (created in OPM) which contains attributes of the type currency to a file (xds), the xml of that test case shows <currency-val> for those attributes, not <number-val>. Is that then a bug in OPA?
I would not call this a bug, although it does cause confusion when trying to translate an xds file into a request for the Assess operation. They are different formats, for different purposes, so there are some differences.
The "number-val" element requirement is in the documentation for the Assess request, on the following page(10.3):
"[...] The number-val element is used for all numeric values including currency."