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

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Istanbul Release
    • Istanbul Release
    • None
    • None

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

              puthuparambil.aditya Aditya Puthuparambil
              niamhcore Niamh Core
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: