ligasgr / intellij-xquery

Plugin to support XQuery in Intellij Idea
Apache License 2.0
35 stars 23 forks source link

XPath constructs are not validated. #170

Closed rhdunn closed 8 years ago

rhdunn commented 8 years ago

Given:

<p class="{$items[@id=$id}]">Test</p>
                         ^----- expected `]`, got `}`

the indicated error message (or equivalent) is not flagged. This should apply to all places where XPath statements can occur, and for all XPath errors.

ligasgr commented 8 years ago

Interestingly enough it works fine with:

<p class="{$items[@id=$id}]"/>