liftie icon indicating copy to clipboard operation
liftie copied to clipboard

attribute selectors do not work in XML

Open MatthewHallCom opened this issue 4 years ago • 4 comments

https://skiron.intermaps.com/get_data.asp?link=http://sdds4.intermaps.com/sdds4_db_xml/default.aspx?region_id=3990

With both Whistler and Crans Montana it looks like XML parsing is being used but i'm having a bit of a problem with it.

If i do a selector based on ELEMENTGROUP it works just fine, but if i try to do any attribute parsing (In this case, ELEMENTGROUP[NAME="LIFT"]) it stops returning any entries

MatthewHallCom avatar Jan 02 '22 15:01 MatthewHallCom

Not sure what's going on here. Why don't you create a PR (with a failing test) and I'll have a look.

pirxpilot avatar Jan 02 '22 16:01 pirxpilot

Sounds good its over here https://github.com/pirxpilot/liftie/pull/52

MatthewHallCom avatar Jan 02 '22 19:01 MatthewHallCom

Closing this, thanks as always @pirxpilot :)

MatthewHallCom avatar Jan 04 '22 04:01 MatthewHallCom

Let's keep this open for now. There really is an issue here. Might be not worth fixing but at the minimum it'd be nice to know why.

pirxpilot avatar Jan 04 '22 06:01 pirxpilot