Hi, I think your context tag is not correctly filled. Can you copy/paste it ?
Regards Tristan FAURE De : [email protected] [mailto:[email protected]] De la part de Topcased user list where issues are discussed Envoyé : jeudi 17 février 2011 12:02 À : [email protected] Objet : [Topcased-users] GenDoc2 unable to load models where has been applied a profile. I have a sysml model where its xmi file starts with: <?xml version="1.0" encoding="UTF-8"?> <uml:Model xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sysML="http://www.topcased.org/2.0/sysML" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="YYYYY" xmi:id="idModel"> Now, I fill the model and GenDoc2 works correctly, but when I apply a profile to apply a stereotype to any model item and I try to generate a document, I have this error message: " The execution of a script failed: The model Model can not be loaded from URL: "file:/C:/......" I have noticed that now the the model xmi file is: <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nvmC="http:///schemas/nvmC/_tD5f8BdkEeCf6oiaF83L5A/294" xmlns:sysML="http://www.topcased.org/2.0/sysML" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http:///schemas/nvmC/_tD5f8BdkEeCf6oiaF83L5A/294 ../../nvm.Topcased.nvmServices.profile/Models/nvm.C.profile.uml#_tD8jQBdkEeCf6oiaF83L5A"> <uml:Model xmi:id="idModel" name="YYYYY"> >From now on GenDoc is not able to work properly. I have found a simple workaround: if I put under control a model section, its xmi file starts with: <?xml version="1.0" encoding="UTF-8"?> <uml:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:sysML="http://www.topcased.org/2.0/sysML" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_y28nUDp8EeCrEMpMv9lJ5Q" name="XXXXX"> Now, I fill the model and GenDoc2 works correctly on this sub-model even if I modify it, but when I apply any stereotype to any sub-model item I have again this error message: " The execution of a script failed: The model Model can not be loaded from URL: "file:/C:/......" and I have noticed that the xmi file becomes: <?xml version="1.0" encoding="UTF-8"?> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nvmC="http:///schemas/nvmC/_tD5f8BdkEeCf6oiaF83L5A/294" xmlns:sysML="http://www.topcased.org/2.0/sysML" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http:///schemas/nvmC/_tD5f8BdkEeCf6oiaF83L5A/294 ../../nvm.Topcased.nvmServices.profile/Models/nvm.C.profile.uml#_tD8jQBdkEeCf6oiaF83L5A"> <uml:Package xmi:id="_y28nUDp8EeCrEMpMv9lJ5Q" name="XXXXX"> I reproduced this problem in Topcased 4.2.1/GenDoc 1.1.0, Topcased 4.3.0/GenDoc 1.1.0 and Topcased 4.3.0/GenDoc 1.3.0. Where is the problem? Do I mistake in any step? Thanks a lot, Nicola ________________________________ Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
