You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/10/26 06:31:50 UTC

[jira] Created: (TUSCANY-1870) XMLStreamHelper should generate xsi:type if the root element of the XMLDocument is not an existing global element

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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1870) XMLStreamHelper should generate xsi:type if the root element of the XMLDocument is not an existing global element

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng closed TUSCANY-1870.
---------------------------------

    Resolution: Fixed

Fixed under r588740

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org