Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1049

Invalid path expressions are not reported correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.4, 3.0.8
    • parser
    • None

    Description

      Attempting to parse an expression like 'deref(../id)/../type' results in it being interpreted as a single step along child axis. This is because the Antlr grammar does not force all input to be consumed, hence we end up interpreting only 'deref'.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: