VOResource v1.0 IWD

Ed Shaya edward.j.shaya.1 at gsfc.nasa.gov
Fri Jun 10 07:31:57 PDT 2005


Ray Plante wrote:

>Hey Arnold
>
>Thank you, thank you, very much for your careful reading!
>
>On Thu, 9 Jun 2005, Arnold Rots wrote:
>  
>
>>In Section 2.2 you define UTCDateTime.  I think it is the only place
>>where you use a union and I wonder whether that is a good choice.
>>It is obviously tempting, but my impression is that code generators
>>are not universally happy with it since it makes for a rather
>>indeterminate polymorphism.
>>    
>>
>
>I am concerned about this for the same reason.  This definition was lifted 
>from the OAI schema which was addressing the same requirement: to support 
>dates either with or without the hms part.  This is one of the things we 
>need to test with existing code generators.
>  
>

We just use a regex for DateTime and make the hms optional.
Ed



More information about the registry mailing list