Technical question about v1.1 VOEvent schema

Rob Seaman seaman at noao.edu
Wed Feb 3 16:42:59 PST 2010


Hi Jean-Paul,

I'm copying Bob Denny who has expressed similar issues with the v1.1  
schema.  We certainly intend to fix this for v2.0.  I don't believe  
anyone would object if we worked around the issue for v1.1 by  
installing an updated schema in some public location.  Comments from  
the WG?

Rob
---

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>.
>
> Am I right ? Do I miss something ?
>
> -- 
> ___________________________________________________________________
>
> Jean-Paul Le Fèvre  * Mail : Jean-Paul.LeFevre at cea.fr
>



More information about the voevent mailing list