You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Pete Robbins (JIRA)" <tu...@ws.apache.org> on 2006/12/05 12:58:23 UTC
[jira] Resolved: (TUSCANY-960) Spurious xsi:type="OpenDataObject"
attribute generated
[ http://issues.apache.org/jira/browse/TUSCANY-960?page=all ]
Pete Robbins resolved TUSCANY-960.
----------------------------------
Fix Version/s: Cpp-current
Resolution: Fixed
> 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
> 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.
-
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org