Primitive types in the ivoa package
Laurent MICHEL
laurent.michel at astro.unistra.fr
Mon Jun 1 18:38:51 CEST 2020
Mark,
Once Gerard has confirmed that this was not a VODML issue, I decided to
ignore this Modelio warning.
The reason for this is that my code uses the primitive flag to generate
annotation blocks and removing a warning does not justify breaking my stuff.
Laurent
Le 01/06/2020 à 16:33, CresitelloDittmar, Mark a écrit :
> Laurent,
>
> I missed this thread earlier..
> I'm sure you are moving along, but thought I'd add my experience.
>
> The messages against using Quantity as an attribute because it is not
> primitive, is a Modelio thing.
> So.. bottom line, you can ignore it.
>
> To complicate things
> * I have the 'primitive' flag turned on for the IVOA package
> DataTypes in my modelio projects
> o this made those warnings go away with no consequences
> * HOWEVER: you can only do that on 'imported' models
> o I believe you will still get the warning from DataTypes
> you define in your own model that are being used as attributes.
> o If you flag those as 'primitive', then the xslt processing will
> ignore any of their content, which is not what you want for your defined
> DataTypes
> * It has been a while, but I think that I eventually told Modelio to
> ignore that warning, and not report it. That way, I can do the audit
> without seeing messages I don't care about.
>
> Mark
>
--
---- English version:
https://www.deepl.com/
---- Laurent MICHEL Tel (33 0) 3 68 85 24 37
Observatoire de Strasbourg Fax (33 0) 3 68 85 24 32
11 Rue de l'Universite Mail laurent.michel at astro.unistra.fr
67000 Strasbourg (France) Web http://astro.u-strasbg.fr/~michel
---
More information about the dm
mailing list