Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-367

Get descendent does not support xpaths that end in list values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • Istanbul Release
    • None
    • None

      currently getByAnchorAndDescendentNameAndLeafValues does not support list values.

      e.g
      the following will return an empty value
      (6, 1001, 3001, 4, '/bookstore/categories[@name="kids"]/books/chapters[@code="1"]', '

      {"code": "1"}

      ');

      //chapters[@code="1"]

      for more information see the cps notes https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html

            puthuparambil.aditya puthuparambil.aditya
            niamhcore niamhcore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: