Re: [basex-talk] %unit:ignore broken since 8.0?

2015-04-07 Thread Christian Grün
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

Re: [basex-talk] %unit:ignore broken since 8.0?

2015-03-31 Thread Lukas Kircher
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

Re: [basex-talk] %unit:ignore broken since 8.0?

2015-03-31 Thread Marc van Grootel
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

Re: [basex-talk] %unit:ignore broken since 8.0?

2015-03-31 Thread Lukas Kircher
behind it is. Being able to put a message there to indicate why the test was ignored is quite handy to have. ​I agree ...