Just make it work - naming and versioning...

Vivek Haridas haridas at cs.jhu.edu
Tue Feb 10 08:12:30 PST 2004


Arnold,

Yes, they are your schemas. Sorry, I didnot realise that work was still in
progress on those schemas. They looked quite good and exhaustive, so, they
have been used as a starting point for the region data structures in ADQL.
We should be able to coordinate and update the ADQL schemas according to
your updates. Please do let me know, if there are other concerns about
the schemas.

They might seem slightly different.
But, here is how they have been regenerated.

1) I generated the region and coords classes in C# from your xsds using
   the xsd.exe tool.

2) Later those classes were included along with the Adql classes and  a
   .Net class library was generated. Which has been used in the webservices.

3) The final schemas were generated from that class library using the
   xsd.exe tool.
   They represent the data exchanged between the adql webservices as of
   now.

 I intended to use the original region and coords xsd only to generated
 classes for the webservices, which they have done successfully.

 The regenerated xsds were intended as documentation of the data
 exchanged.

with Best Regards,
Vivek




On Tue, 10 Feb 2004, Arnold Rots wrote:

> Vivek,
>
> With all due respect, are these the schemas that I developed?
> In that case, we need some coordination, since I'm working on them,
> too.
>
>   - Arnold
>
> Vivek Haridas wrote:
> > Martin,
> >
> > These are the xsds.
> > http://www.ivoa.net/internal/IVOA/IvoaVOQL/Main.xsd
> > http://www.ivoa.net/internal/IVOA/IvoaVOQL/ADQL.xsd
> > http://www.ivoa.net/internal/IVOA/IvoaVOQL/Region.xsd
> > http://www.ivoa.net/internal/IVOA/IvoaVOQL/Coords.xsd
> >
> > with Best Regards,
> > Vivek
> >
> >
> > On Mon, 9 Feb 2004, Martin Hill wrote:
> >
> > > Hmmm in fact does this count as being the new ADQL, as I take it we submit
> > > documents conforming to this 'wrapping' schema to datacenters/skynodes?
> > >
> > > Anyway XML Spy still can't find ADQL.xsd from:
> > >
> > > <xs:import namespace="http://adql.ivoa.net/v0.8" schemaLocation="ADQL.xsd"/>
> > >
> > > Is there really a v0.8?  Where would we find one to download? Or am I just too
> > > eager and it's not available yet?!
> > >
> > > Thanks for this work though!
> > >
> > > Martin
> > >
> > > Martin Hill wrote:
> > >
> > > > Thanks Vivek
> > > >
> > > > Can we version these please? I take it this is an update of version 0.6,
> > > > so can we call it version ADQL-v0.61, or any other variation you're
> > > > happy with. Otherwise it gets very difficult to build against them.
> > > >
> > > > Cheers,
> > > >
> > > > Martin
> > > >
> > > > Vivek Haridas wrote:
> > > >
> > > >> Tony,
> > > >>
> > > >> I have the xsd's posted on twiki.
> > > >> Here is the link to the main xsd.
> > > >>
> > > >> http://www.ivoa.net/internal/IVOA/IvoaVOQL/Main.xsd
> > > >>
> > > >> It imports from three other xsds: ADQL, Region and Coords.
> > > >>
> > > >> with Best Regards,
> > > >> Vivek Haridas
> > > >>
> > > >>
> > > >>
> > > >> On Mon, 9 Feb 2004, Tony Linde wrote:
> > > >>
> > > >>
> > > >>> Can anyone tell me how to make ADQL work in xmlspy? I managed to get the
> > > >>> schema to load by deleting all the coords/region stuff at the end -
> > > >>> nothing
> > > >>> seemed to be referencing it - at least xmlspy then said the schema was
> > > >>> valid.
> > > >>>
> > > >>> I then created a new xml document based on the schema. Made 'Select' the
> > > >>> root element. Xmlspy then offered me various child elements of Select:
> > > >>> OptionalAllOrDistinct, OptionalTop, Selection, TableClause, OrderBy.
> > > >>> I added
> > > >>> Selection and it then told me the document was invalid: 'element
> > > >>> Selection
> > > >>> is undefined'!!
> > > >>>
> > > >>> Am I doing something wrong or is the ADQLschema.xsd simply invalid?
> > > >>>
> > > >>> Thanks,
> > > >>> Tony.
> > > >>>
> > > >>> __
> > > >>> Tony Linde
> > > >>> Phone:  +44 (0)116 223 1292    Mobile: +44 (0)7753 603356
> > > >>> Fax:    +44 (0)116 252 3311    Email:  ael at star.le.ac.uk
> > > >>> Post:   Department of Physics & Astronomy,
> > > >>>        University of Leicester
> > > >>>        Leicester, UK   LE1 7RH
> > > >>>
> > > >>> Project Manager,            Director,
> > > >>> AstroGrid                   Leicester e-Science Centre
> > > >>> http://www.astrogrid.org    http://www.e-science.le.ac.uk/
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >
> > >
> > > --
> > > Martin Hill
> > > Software Engineer
> > > AstroGrid @ ROE
> > > Tel: +44 7901 55 24 66
> > > www.astrogrid.org
> > >
> >
> --------------------------------------------------------------------------
> Arnold H. Rots                                Chandra X-ray Science Center
> Smithsonian Astrophysical Observatory                tel:  +1 617 496 7701
> 60 Garden Street, MS 67                              fax:  +1 617 495 7356
> Cambridge, MA 02138                             arots at head.cfa.harvard.edu
> USA                                     http://hea-www.harvard.edu/~arots/
> --------------------------------------------------------------------------
>






More information about the voql mailing list