goofballLogic / ld-query

Querying JSON-LD
MIT License
20 stars 6 forks source link

Attribute selector bug - must be adjacent to attributed node #17

Closed goofballLogic closed 7 years ago

goofballLogic commented 7 years ago

ex:node [@index=1234] ( select the descendent of ex:node with an @index of 1234 )

is incorrectly interpreted as:

ex:node[@index=1234] ( select the ex:node with an @index of 1234 )

gareth-robinson commented 7 years ago

Does that mean the examples in README.md and the majority of tests in selection-by-multiple-attributes.feature are incorrectly defined?

gareth-robinson commented 7 years ago

Never mind, I see the difference now!

I've submitted pull request https://github.com/goofballLogic/ld-query/pull/19

goofballLogic commented 7 years ago

This was closed by pull request #19