Project

General

Profile

Bug #26

need to add NOT operator to pathquery.dtd

Added by Matt Jones over 20 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
06/19/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
26

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.

History

#1 Updated by Matt Jones over 20 years ago

will do.

#2 Updated by Jivka Bojilova over 19 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'

#3 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 26

Also available in: Atom PDF