dukeboard / kevoree-modeling-framework

Kevoree Modeling Framework

Home Page:http://kevoree.org/kmf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

model query in JS

ahervieu opened this issue · comments

The follwoing queries are not providing the same result :

 var res = kPCM.select("matrices[id = *]/cells[name = * windows *]");
 var res = kPCM.select("matrices[id = *]/cells[name = *windows*]");

In the second query, having the * just after the word windows removes the last letter of the word windows inside the query.
Query is then interpreted as follow :

 var res = kPCM.select("matrices[id = *]/cells[name = *window *]");

Fixed in v4