You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Caroline Maynard (JIRA)" <tu...@ws.apache.org> on 2007/03/22 16:30:32 UTC

[jira] Closed: (TUSCANY-960) Spurious xsi:type="OpenDataObject" attribute generated

     [ https://issues.apache.org/jira/browse/TUSCANY-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Caroline Maynard closed TUSCANY-960.
------------------------------------


> Spurious xsi:type="OpenDataObject" attribute generated
> ------------------------------------------------------
>
>                 Key: TUSCANY-960
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-960
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>            Reporter: Caroline Maynard
>         Assigned To: Pete Robbins
>            Priority: Minor
>             Fix For: Cpp-current
>
>
> I have a schema where a property has an open data type. I read in an XML  document: 
> <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
>  <div xmlns="http://www.w3.org/1999/xhtml">
>   <p>
>    <i>[Update: The Atom draft is finished.]</i>
>   </p>
>   <div class="myclass">
>    <p>Hello</p>
>   </div>
>  </div>
> </content> 
> then I convert it back to a string, and it looks like this:
> <content type="xhtml" lang="en" base="http://diveintomark.org/"><lang>en</lang><base>http://diveintomark.org/</base>
>  <div xsi:type="OpenDataObject">
>   <p xsi:type="OpenDataObject">
>    <i xsi:type="OpenDataObject">[Update: The Atom draft is finished.]</i>
>   </p>
>   <div xsi:type="OpenDataObject" class="myclass"><class>myclass</class>
>    <p xsi:type="OpenDataObject">Hello</p>
>   </div>
>  </div>
> </content> 
> The type attributes add no value and make the output cluttered and confusing. Please eliminate them. 

-- 
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