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

XMLStreamHelper should generate xsi:type if the root element of the XMLDocument is not an existing global element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SDO-Next
    • None
    • None

    Description

      Trying to convert a Customer DataObject into XMLStreamReader, the root element is dummy which is not a global element. We would like to see xsi:type as follows.

      <dummy xmlns="http://dummy" xsi:type="c:Customer" xmlns:xsi="..." xmlns:c="http://customer">
      ....
      </dummy>

      I have a fix. If you agree, I can commit.

      Thanks,
      Raymond

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: