Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1564

Change oopath syntax

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.Final
    • None
    • core engine
    • NEW
    • NEW

      It is required to change the oopath syntax to make it closer to xpath one. This means that constraints will have to be put between square brackets instead of curly ones and inline cast should be expressed out of constraints. In other words the following oopath:

      /list{#SubClass, prop == 0}
      

      should become:

      /list#SubClass[prop == 0]
      

              mfusco@redhat.com Mario Fusco
              mfusco@redhat.com Mario Fusco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: