Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1191

DPath: Insufficient error message for invalid axis

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.0
    • 1.0.0
    • Diagnostics
    • None

      For all of the axes that DPath does not support (ancestor, following, etc.) I am getting the error message:

      Schema Definition Error: Unable to parse expression. Message: `}' expected but `:' found

      This may change after the valid long form axes are implemented (DFDL-1059) but wanted to note this just in case.

      See tests:
      test_ancestor_axis_01
      test_ancestor_or_self_axis_01
      test_attribute_axis_04
      test_descendant_axis_01
      test_descendant_or_self_axis_01
      test_following_axis_01
      test_following_sibling_axis_01
      test_namespace_axis_01
      test_preceding_axis_01
      test_preceding_sibling_axis_01

      In files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/expressions.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: