Technical question about v1.1 VOEvent schema
Bob Denny
rdenny at dc3.com
Thu Feb 4 13:15:24 PST 2010
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>.
More information about the voevent
mailing list