Hi Dirk,
please have a look at this:
<!-- New in V2.0: type definition for multiple stars -->
<xsd:complexType name="deepSkyMS">
<xsd:complexContent>
<!-- pls. note that this element is not derived from
oal:deepSkyTargetType -->
<xsd:extension base="oal:observationTargetType">
<xsd:sequence>
<!-- star which is a component of the multiple star system -->
<!-- refers to oal:starTargetType -->
<!-- Must occur at least three times. For double stars please use
oal:deepSkyDS -->
<xsd:element name="component" type="xsd:IDREF" minOccurs="3"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Especially this: <!-- pls. note that this element is not derived from
oal:deepSkyTargetType -->
Thinking over this, I realize that the target type hierarchy and the
findings type hierarchy match pretty well in this case. Using a deep
sky findings type to describe a target that's not modelled as a deep
sky one simply seems confusing to me.
We have a similiar case of mismatch between the target and findings
type hierarchies: the NA (not applicable, meaning undefined) target
that derives from deep sky target but uses only a generic findings
type. The thought on this was that it might be a deep sky target not
covered by the well established types (f.e. a nova) but it could also
be a "near sky" object or even a transitory phenomenon such a sighting
of noctilucent clouds, an aurora or a halo.
I think on this from an OO point of view: you can always cast upwards
to more generic information, omitting or losing some data. But
downcasting an object to something it actually is not the type of
would be rejected by a compiler :-)
So if you want describe a MS with attributes of a deep sky findings
type, I would suggest to derive the MS from the deep sky target ype.
Whatever the MS is derived from, it will not break E&T as my program
simply does not take care of single, multiple or variable stars.
Meanwhile I'm doing some testing of Wim's
deepskylog.org/test and it
really seems good. He could sort out one issue after the other. Sadly
I have to admit that E&T 3.1 (with OAL2 support) has a bunch of issues
I have to work on. So I cannot provide a beta for testing purposes
right now. But just as always: progress is slow, but it happens.
Best regards,
Tom