[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3047: gb.xml.html XmlElement.GetChildrenByFilter selects incorrect element


http://gambaswiki.org/bugtracker/edit?object=BUG.3047&from=L21haW4-

Comment #4 by Claus DIETRICH:

I tested all the CSS selectors documented at https://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/matchfilter?nh
with following results:

.class                 OK
#id                    OK
*                      OK  
element                OK
element , element      not OK
element element        not OK 
element > element      not OK
element + element      not OK
[attribute]            OK
[attribute="value"]    OK
[attribute~="value"]   OK
[attribute^="value"]   OK
[attribute$="value"]   not OK
[attribute*="value"]   not OK
:first-child           not OK
:last-child            not OK

I also confirm the issues in the bug-demo app.

Best regards
Claus



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----