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

                 Key: TUSCANY-1870
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1870
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-Next
            Reporter: Raymond Feng


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to