> This new element is added when you drag a label manually on a workflow
> in ArgoUML 0.28. But this new element is added to pgml files, not xmi.
> Do you have this element in the xmi file? If yes, I think it's a bug in
> ArgoUML.
> xmiparser parse only the xmi file. I don't have problems with my current
> models.
The element is not present in the xmi. (I started the ArgoUML file with an
import of the xmi that is generated by ArchGenXML 2.3, by the
/bin/agx_argouml_profile script.) I find this element only in the .uml file
saved by 0.28. (I generally save ArgoUML files as .uml instead of .zargo.)
I just found that i can't reproduce it with a fresh uml file:
- Using ArgoUML 0.26, create a new project.
- Import archgenxml_profile.xmi (generated by agx_argouml_profile).
- Rename the model from AGXProfile to 'MyProduct'.
- Add a 'content' package.
- In 'content', add a 'MyContentType' class.
- Save it as 'MyProduct.uml' and quit.
- Open 'MyProduct.uml' using ArgoUML 0.28.
- Make a trivial change (by moving something in the model) and save.
- No elements <argouml:pathindex> were added.
But i do have an existing .uml file, which does not contain any
<argouml:pathindex> elements, in which ArgoUML 0.28 will create these elements
when it saves the file.
Concerning your remark about why the tag is created: I'm not doing anything with
workflows in the model, so i'm at a loss there. I have checked the model for
workflow statements, but i didn't find any.
Seeing as you have no problems with files created with ArgoUML 0.26, there's
probably something quite 'special' about my model.
For now, i'll just use 0.26 version, which is good enhough for me. If anyone
wants to investigate further, i could supply the uml file, but as it seems to
happen only this particular file, i can imagine it's not top priority.
Kees
Vincent Fretin wrote:
> On Wed, Mar 25, 2009 at 12:27 PM, Kees Hink <
[hidden email]> wrote:
>> I have created a model with ArgoUML 0.26. After opening and saving this file
>> with ArgoUML 0.28, ArchGenXML 2.3 fails with an 'unbound prefix' error.
>> (
http://paste.plone.org/27173)
>>
>> The offending line in my uml file reads
>> <argouml:pathitem figname="Fig5.1"
>> classname="org.argouml.uml.diagram.ui.PathItemPlacement"
>> figclassname="org.argouml.uml.diagram.ui.FigTextGroup"
>>
>> ownerhref="127-0-1-1--40830a99:11fd22433fd:-8000:00000000000010FE"
>> angle="270.0"
>> offset="25" />
>>
>> Version 0.28 adds these elements (<argouml:pathitem>) to the uml created with
>> 0.26. It doesn't do this for new projects created with 0.28 (which are parsed by
>> ArchGenXML without problems).
>>
>> Why would version 0.28 add these elements, and how to prevent it?
> This new element is added when you drag a label manually on a workflow
> in ArgoUML 0.28. But this new element is added to pgml files, not xmi.
> Do you have this element in the xmi file? If yes, I think it's a bug in ArgoUML.
> xmiparser parse only the xmi file. I don't have problems with my current models.
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
http://p.sf.net/sfu/www-adobe-com_______________________________________________
Archetypes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/archetypes-users