You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2007/06/13 09:10:49 UTC

svn commit: r546760 - /incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp

Author: robbinspg
Date: Wed Jun 13 00:10:48 2007
New Revision: 546760

URL: http://svn.apache.org/viewvc?view=rev&rev=546760
Log:
TUSCANY-1297 Do not write xsi:type information for global elements

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp?view=diff&rev=546760&r1=546759&r2=546760
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/SDOXMLWriter.cpp Wed Jun 13 00:10:48 2007
@@ -1339,6 +1339,10 @@
                               && propiTypeURI.equals(propTypeURI) )
                           {
                               // We have a match
+
+                              // it's a global element so we do not need xsi:type
+                              xsiTypeNeeded = false;
+
                               XSDPropertyInfo* ppi = getPropertyInfo(*propi);
                               PropertyDefinitionImpl propdef;
                               if (ppi)



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org