[ http://issues.apache.org/jira/browse/TUSCANY-960?page=all ]

Pete Robbins reassigned TUSCANY-960:
------------------------------------

    Assignee: Pete Robbins

> Spurious xsi:type="OpenDataObject" attribute generated
> ------------------------------------------------------
>
>                 Key: TUSCANY-960
>                 URL: http://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
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to