Data Model utype

Mireille Louys mireille.louys at unistra.fr
Fri Apr 16 03:38:39 PDT 2010


Hi Markus, hi all

You're right , better to have short Utypes so I would suggest :
 

DataModel.Name instead of DataModelReference.Name for instance

I agree we do not parse Utypes , so 'stc:' in 'stc:AstroCoords' is not a 
name space , but it gives the context  of the utype  .
We could have it as

DataModel.Prefix 

if you prefer.

My take is that each datamodel should provide  a recommended versionned 
Utype list , published in the IVOA
so this prefix could work as a pointer to the utypelist document , in 
the same way as the name space 'stc' points to the STC xml schema in an 
instance XML document.
in other words ,

DataModel.Prefix can be mapped to DataModel.Uri 
DataModel.Uri could point to the published Utypelist
 
which allow then for an application to check the utypes properly

Comments and feedback welcome. 
Thanks , Mireille


 
Markus Demleitner wrote:
> Hi all,
>
>   
>> Mireille Louys a écrit :
>>     
>>> my take on this , with no full agreement up to now from the DM WG is to 
>>> have for each model an item called : DataModelReference
>>> We could then have attributes to this class , for each data model like :
>>> DataModelReference.Name
>>> DataModelReference.Version
>>> DataModelReference.Uri
>>>       
>
> On Tue, Apr 13, 2010 at 06:17:09PM +0200, Francois Bonnarel wrote:
>   
>>     I agree basically with that Mireille.
>>    To fully work on what markus is looking for
>>     we would need an additional
>>
>>    DataModelReference.NameSpace
>>
>>     
> I like Mireille's suggestion, but I think we don't need a name space.
> The "thing in front of the colon" in utypes is, according to the
> current utype proposal, *not* a name space in the XML sense (but
> rather a model identifier).  And that's a good thing, because only in
> this way you can let people embed literal strings into their programs
> and tell them: That's the string to look for when you're trying to
> find an error for this particular value.
>
> So, DataModelReference.Uri will do; there are no declared namespaces
> in utypes since they are, at least to users, opaque strings.
>
> One qualm, though:  People complain that utype always are so long,
> and I tend to agree.  Couldn't we just call the first atom
>
> DataModel
>
> or even just
>
> DM?
>
> Thanks,
>
>             Markus
>
>
>   


-- 
--------------------------------------------------------------
!! Please notice my phone number has changed!!
 Mireille LOUYS          mailto: mireille.louys at unistra.fr
                                      
L S I I T                       &     CDS,
Ecole Nationale Superieure            Observatoire de Strasbourg    
de Physique de Strasbourg,            11, Rue de l'Universite
Boulevard Sébastien Brant, BP 10413   67000 STRASBOURG
67412 ILLKIRCH Cedex       	      Tel: +33 3 68 85 24 34
---------------------------------------------------------------





More information about the dm mailing list