Fwd: Technical question about v1.1 VOEvent schema
Rob Seaman
seaman at noao.edu
Thu Feb 4 13:05:55 PST 2010
Hi, I think this and the following message were intended to go to the
whole group. - Rob
Begin forwarded message:
> From: Bob Denny <rdenny at dc3.com>
> Date: February 4, 2010 11:54:26 AM GMT-07:00
> To: Rob Seaman <seaman at noao.edu>
> Subject: Re: Technical question about v1.1 VOEvent schema
>
> Jean-Paul --
>
> You are correct in your observations. I described this problem
> (along with
> others) in an IVOA Note a year ago. Please see
>
> http://ivoa.net/Documents/Notes/VOEvent/VOEventReflections-20090220.html
>
> -- Bob
>
>> On Feb 3, 2010, at 8:21 AM, Jean-Paul Le Fèvre wrote:
>>
>> I'm having difficulties with the VOEvent-v1.1.xsd schema :
>>
>> I've compiled the file using jaxb, the Sun schema compiler but I
>> couldn't
>> parse a VOEvent file using my code. More specifically the <What>
>> section
>> caused my program to fail.
>>
>> I figured out that the reason had to do with the fact that the
>> element <Param>> has no type specified in the <What> section of the
>> schema . It is
>> the same
>> for <Group> and <Reference>.
>>
>> I've been able to fix my code by modifying the schema, adding
>> type="Param" to
>> <xs:element name="Param"/> : <xs:element name="Param" type="Param" /
>> >> everywhere and the same for <Group> and <Reference>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ivoa.net/pipermail/voevent/attachments/20100204/438adda5/attachment-0001.html>
More information about the voevent
mailing list