Bug #26
closedneed to add NOT operator to pathquery.dtd
0%
Description
The query description supported by pathquery.dtd does not currently support the
"NOT' boolean operator, which should be provided as a choice in the "searchmode"
attribute as "is-not". Also, the "matches-exactly" operator should be changed
to "is". Finally, the QuerySpecification class needs to be updated to support
these changes.
Updated by Jivka Bojilova over 23 years ago
DONE
Included new terms in pathquery.dtd for searchmode:
equals (former "matches-exactly")
isnot-equal
less-than
greater-than
less-than-equals
greater-than-equals
Added support for them in QuerySpecification. Tested in Oracle.
For = and != operators: ='1' and =1 (!='1' and !=1) work in the same way for
numeric operands thus ='operand' is used only.
For >, >=, <, <= operators check for numeric operand is added like:
if (operand is Number)
operator operand
else //character operand
operator 'operand'