dukeboard / kevoree-modeling-framework

Kevoree Modeling Framework
http://kevoree.org/kmf
GNU Lesser General Public License v3.0
37 stars 7 forks source link

model query in JS #62

Closed ahervieu closed 9 years ago

ahervieu commented 10 years ago

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 *]");
dukeboard commented 9 years ago

Fixed in v4