Hello,
The 2.1 version of the SAVOT (Simple Access to VOTable) parser is now available.
SAVOT has now three parsing modes :
. a full mode which loads the whole (but large files can be loaded)
VOTable document into the internal data model
In this mode, the developer can modify (also create from scratch) a
document into memory and save it through the savot writer (velocity has
been increased)
. a sequential mode which loads the document resource per resource in
the internal data model
. (NEW) a SAX mode which loads the document element per element (events
: document start, element start, element end, text content, document
end, ...), the developer implements a consumer in which he defines actions
In this mode the internal data model is optional, the developer can use
his own one
remark : SAX mode requires often more work on the developer side than the full or sequential modes and the choice depends on the use case
SAVOT is compatible with VOTable 1.0 and 1.1 draft (PARAMref, FIELDref, ...).
Documention, samples, ..., are also available.
Suggestions, bug report, ..., are welcome.
Depending on the needs, a complementary developer friendly API (shortcuts for the internal data model navigation, arraysize manipulations, patterns for the creation from scratch,...) could be proposed soon.
André
SAVOT is available on the CDS developer's corner pages :
http://cdsweb.u-strasbg.fr/devcorner.gml
-- André Schaaff Observatoire Astronomique CDS - http://cdsweb.u-strasbg.fr/ 11, rue de l'Université F-67000 StrasbourgReceived on 2004-05-12Z16:02:45