[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sun Dec 19 22:51:00 UTC 2004


CVS commit by okellogg: 

Comment by M. Alanen 2004-12-19 (see bugs.kde.org/56184):
" XMI.model requires xmi.version. (or leave the whole XMI.model out, it's 
  not required) "


  M +9 -1      umldoc.cpp   1.218


--- kdesdk/umbrello/umbrello/umldoc.cpp  #1.217:1.218
@@ -1749,5 +1749,5 @@ void UMLDoc::saveToXMI(QIODevice& file) 
         root.setAttribute( "timestamp", "");
         root.setAttribute( "verified", "false");
-        root.setAttribute( "xmlns:UML", "omg.org/UML/1.3");
+        root.setAttribute( "xmlns:UML", "http://schema.omg.org/spec/UML/1.3");
         doc.appendChild( root );
 
@@ -1759,4 +1759,8 @@ void UMLDoc::saveToXMI(QIODevice& file) 
         header.appendChild( meta );
 
+        /**
+         * bugs.kde.org/56184 comment by M. Alanen 2004-12-19:
+         * " XMI.model requires xmi.version. (or leave the whole XMI.model out,
+         *   it's not required) "
         QDomElement model = doc.createElement( "XMI.model" );
         QFile* qfile = dynamic_cast<QFile*>(&file);
@@ -1768,4 +1772,5 @@ void UMLDoc::saveToXMI(QIODevice& file) 
                 model.setAttribute( "href", qfile->name() );
         }
+         */
 
         QDomElement documentation = doc.createElement( "XMI.documentation" );
@@ -1796,5 +1801,8 @@ void UMLDoc::saveToXMI(QIODevice& file) 
         header.appendChild( documentation );
 
+        /**
+         * See comment on <XMI.model> above
         header.appendChild( model );
+         */
         header.appendChild( meta );
         root.appendChild( header );






More information about the umbrello-devel mailing list