Re: Bug(s) in definition of <DEFINITIONS> and <INFO>?

From: Steve Lowe <slowe-at-head-cfa.harvard.edu>
Date: Wed, 13 Nov 2002 15:50:53 -0500


Hi Markus, (and the rest of the mailing list)

Actually, I meant something more practical by my question. My group at CfA is working on end-to-end prototypes, so we are implementing both producers and consumers of VOTables. Whenever the schema changes, our existing code has to change to follow it. That's to be expected, no complaint there. But, I'm soliciting advice from folks more familiar with this kind of development work as to how we might minimize our effort.

We're currently using JAVOT as our VOTable parser/generator. We don't currently have the Breeze binder so that we can regenerate the JAVOT skeleton when the VOTable xsd is changed. That's why I was asking in previous posts about Breeze and JAXB (and thanks to those who responded), because I think we'll need to be able to run our own binder.

Also, we may need to "flesh-out" the automatically-generated skeleton by adding extra code to the methods. So how do you easily preserve such code when the skeleton is regenerated? I suppose one could take the approach of never adding such code directly to the automatically-generated classes, but instead subclassing from the skeleton's classes and writing the extra code in those subclasses. Is this what the experts would do?

Thanks,
Steve

Markus Dolensky wrote:
>
> Hi Steve,
>
> > In addition to the question of maintaining the official definition of
> > the VOTable schema as it evolves, I'm also interested in the easiest way
> > to keep development code in sync with the schema.
>
> One could offer a test suite and collect sample documents and guidelines
> how a compliant parser should perform.
>
> Another thought: When encountering an unknown element in a contiguous
> stream it may not be clear to which point a rollback should be
> performed. But this is probably too far off your original question.
>
> Markus
>
> +---
> | Markus Dolensky Mailto:Markus.Dolensky-at-eso.org
> | AVO Senior System Engineer Web: www.euro-vo.org
> | Voice: ++49 89 32006/261 Fax: ++49 89 32006/480
> +---

-- 
Steve Lowe
Smithsonian Astrophysical Observatory
Harvard-Smithsonian Center for Astrophysics
slowe-at-cfa.harvard.edu
1-617-496-1661
Received on 2002-11-14Z08:46:56