Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-22

Parent axis of dynamic property beans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0 Final
    • None
    • None
    • Operating System: Windows XP
      Platform: Other

    • 9381

    Description

      Dear Dmitri,

      I think, that I face another problem concerning dynamic property beans.

      Consider an object graph of dynamic property beans where the attribute of
      some bean is a Collection of other dynamic property beans.

      Works:

      /propertybean1[1]/propertybean2
      /propertybean1[2]/propertybean2
      /propertybean1[1]/propertybean2/../propertybean2

      Leads to an error (no value for xpath):

      /propertybean1[2]/propertybean2/../propertybean2

      You can reproduce it, when you use a Map for the attributes.

      I'll try to add a example as source code.

      Thanx,
      Markus

      Attachments

        Activity

          People

            Unassigned Unassigned
            mm@teraspect.de Markus Menner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: