Converging the Data Models

Francois Bonnarel bonnarel at alinda.u-strasbg.fr
Wed Sep 22 04:26:32 PDT 2004


Hello Brian,
An answer to your mail of last week

<From owner-dm at eso.org  Thu Sep 16 20:40:51 2004
< Tis true that these are large schemas, the STC in particular. But I thought
< the solution was to use "xincludes" in the XML documents to get around 
< having to put in the full blown description. In that fashion
< one only defines their coordinates once at the beginning (or in another
< document) and includes them.

  What do you mean there? XML Include in the xml instances or in the 
schema?
<
< Another thought is that the "Toy" schema can be build such that they define 
< the simple  structures they include in terms of the "full" schema. For example, a "toy"
< STC would have a "J2000" complexType which inherits from complexTypes
< in STC, but has restrictions on it that make it very simple when it is instanciated.
    Can you send me (and the list) a small example with the xml code for 
that?
<
< This sort of thing is machine parsable...I've taken a stab at it in the Q Java package
< I wrote..I use something like this mechanism to define the "trivialQ" out of the
< atomicQ (e.g. "trivialQ" isa restricted AtomicQ where the restriction is that its 
< always of scalar, unitless, coordinateless, string value).
<
< regards,
<
< =b.t.
<
Regards
François

=====================================================================
Francois   Bonnarel               Observatoire Astronomique de Strasbourg
CDS (Centre de donnees          11, rue de l'Universite
astronomiques de Strasbourg)    F--67000 Strasbourg (France)

Tel: +33-(0)3 90 24 24 11       WWW: http://cdsweb.u-strasbg.fr/people/fb.html
Fax: +33-(0)3 90 24 24 25       E-mail: bonnarel at astro.u-strasbg.fr
---------------------------------------------------------------------



More information about the dm mailing list