Hi Bob, thanks for your replies...

Bob Tarling wrote:
> We have two choices, to keep to PGML standard or not
> 
> We could abandon strict adherence to PGML and just add whatever tags
> and attributes we wish. That would certainly make our job easier.
> 
>> 1) The PGML.tee file in argouml contains a number of <private> tags.
> 
> See section C.5 in http://www.w3.org/TR/1998/NOTE-PGML-19980410
> Private tags are the extension point of PGML if there is no tag or
> attribute available in the PGML spec for what you require then in
> theory it should be specified as
>     <private>
>         <argouml:percent></argouml:percent>
>         <argouml:angle></argouml:angle>
>         <argouml:offset></argouml:offset>
>     </private>
> 
Sounds good.  I see no particular benefit in diverging from the PGML spec, so 
I will aim to keep to it, using the private notation you describe above.

> You could keep to PGML with something like this
> 
> <template class="org.argouml.uml.diagram.ui.PathItemPlacement">
> 
> <![CDATA[
> 
> <group
> name="<ocl>org.argouml.persistence.PgmlUtility.getId(self.itemFig)</ocl>"
>           description="<ocl>self.class.name</ocl>"
>           href="<ocl
> ignoreNull>org.argouml.uml.UUIDHelper.getUUID(self.itemFig)</ocl>"
>           percent="TBD...1"
>           angle="TBD...2"
>           offset="TBD...3" />
>     <private>
>         <argouml:percent>TBD...1</argouml:percent>
>         <argouml:angle>TBD...2</argouml:angle>
>         <argouml:offset>TBD...3</argouml:offset>
>     </private>
> </group>
> 
> ]]>
> 
> </template>

I assume the percent/angle/offset information being included twice in your 
example is a mistake, and that we only need the second lot of information 
within the <private> tag.

Regards,

Dave

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=997117

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to