Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1421

XMLHelper.save on root object of DataGraph gives serialization of href="root.xml#/"

    XMLWordPrintableJSON

Details

    Description

      There's an issue reported on the user list ...
      http://mail-archives.apache.org/mod_mbox/ws-tuscany-user/200707.mbox/%3c0BAEFFA7AFADFD4497F50DD093687E07043D9D7B@melmbxw01.prod.quest.corp%3e
      which relates to a some missing logic in XMLDocumentImpl's save method

      The precondition for hitting this issue is when the data object is the root data object of a DataGraph. In this case the eContainer of the root object is null, but the root object is contained in a resource. We need to replicate the unhooking and replacing behaviour that exists for the container of the data object for the case where the data object is directly contained in a resource.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgoodson Kelvin Goodson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: