devuxd / active-doc-client

React, React-Bootstrap
MIT License
0 stars 4 forks source link

[Rule Executer] repetitive results #62

Closed SaharMehrpour closed 5 months ago

SaharMehrpour commented 5 months ago

For the following queries:

[
      "//src:unit/src:class[src:super/src:extends/src:name/text()=\"Artifact\"]/src:name/text()",
      "//src:unit/src:class[src:super/src:extends/src:name/text()=\"Artifact\" and not(not(src:name/text()=\"<TEMP>\") and src:block/descendant-or-self::src:decl_stmt/src:decl[src:init/src:expr/src:call/src:name/text()=\"<TEMP>\"])]"
]

The output is 9 instead of 3.

Screenshot 2024-05-20 at 11 42 48 PM