Closed GoogleCodeExporter closed 8 years ago
The definition
< NON_NEGATIVE_INTEGER: ["0"-"9"] (<DIGIT>)* >
or, equivalently,
< NON_NEGATIVE_INTEGER: (<DIGIT>)+ >
would also capture strings like
00123
I am not sure it is intended, but it seems to agree with the OWL 2 specs, which
define here:
http://www.w3.org/TR/owl2-syntax/#General_Definitions
nonNegativeInteger := a nonempty finite sequence of digits between 0 and 9
Alternatively, one can use
< NON_NEGATIVE_INTEGER: "0" | ["1"-"9"] (<DIGIT>)* >
to exclude numbers like 0XXX
Original comment by ykazako...@gmail.com
on 10 Oct 2011 at 7:54
This has been fixed in r367. The grammar for NON_NEGATIVE_INTEGERS is now
according to OWL 2 specs.
Original comment by frantise...@gmail.com
on 12 Oct 2011 at 8:29
Original comment by frantise...@gmail.com
on 12 Oct 2011 at 8:41
Original issue reported on code.google.com by
andy...@hotmail.co.uk
on 10 Oct 2011 at 7:16