Bug #26
closed
need to add NOT operator to pathquery.dtd
Added by Matt Jones over 24 years ago.
Updated over 22 years ago.
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.
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'
Original Bugzilla ID was 26
Also available in: Atom
PDF