Hi Marc,
I do indeed see that no arg is allowed. But I wonder what the thinking
behind it is.
The thinking here was simply non-existent; the bug was introduced by
the revision of our annotation handling: in earlier versions, all
annotatoins were dynamically parsed. Now, you already get
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
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
behind it is. Being able to put a message there to indicate why the
test was ignored is quite handy to have.
I agree ...
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.
5 matches
Mail list logo