Thanks. Looking at the code in basex-core/src/main/java/org/basex/query/ann/Annotation.java
_UNIT_IGNORE("ignore()", arg(), UNIT_URI),
I do indeed see that no arg is allowed. But I wonder what the thinking behind it is. Being able to put a message there to indicate why the test was ignored is quite handy to have.
--Marc
On Tue, Mar 31, 2015 at 8:16 AM, Lukas Kircher lukaskircher1@gmail.com wrote:
Hi Marc,
sorry for the inconvenience - there have indeed been some changes to the unit module in the recent past, that are not yet covered by the documentation. I assume unit:ignore is one of them (w/o checking the sources). Christian is out of town at the moment, so it might take a week before we get back to you.
Cheers, Lukas
On Mon, Mar 30, 2015 at 10:14 PM, Marc van Grootel marc.van.grootel@gmail.com wrote:
Hi,
Could it be that %unit:ignore("message") is broken since 8.0.
Whenever I use a message in the annotation my tests fail with this error message:
<error line="149" column="21" type="bxerr:BASX0006"> <info>%unit:ignore: 1 argument supplied.</info> </error>
When ("mesage") is removed the test is ok.
Documentation let's me believe %unit:ignore("message") is still supported.
--Marc