Please, report any bug
We are working on the next release. As VOTable should stay in version 1.2 for some time, we are focusing on evolutions like pagination of the data, binary data, better memory use, etc.
If you have needs or ideas to make SAVOT better, please send us a mail with a description.
new feature(s) :
Better error management with reference to bad line number
Example :
The wrong line The Hipparcos Main Catalogue generates the following error :
VOTable markup error : DESCRIPTIO at line 22
Remark :
The parsing continues, the main aim of SAVOT is to need as less as possible memory and to be fast, this add is provide as a help to localize problems in VOTable input files
cds.savot.writer.jar, WriteDocument becomes SavotWriter which is more rich..
Remark :
In the previous versions, it was necessary to create a whole VOTable document and then to write the VOTable document.
In the new version, this is always possible but it is now possible to write the VOTable document step by step.
It can be useful for large document because it is possible to write for example the document line (TR) per line.
It enables the use of a flow without waiting the document creation end.
cds.savot.model.jar, new method “public void SVtoTR(String svline, char sv)” in SavotTR
Useful to convert a TSV line into a TR element (creates TD for each element separated with tab), but the separator is not fixed and is specified as a parameter.
Use : SavotTR tr = new SavotTR();
tr.SVtoTR(line, '\t'); where line is a TSV line
fixed bug(s) :
In the previous versions of SAVOT, the addItem method in a TRSet was ambigious : TDSet as argument. It has been corrected this version but some additional lines are now necessary.
Example :
private void write() {
SavotTD td = new SavotTD();
td.setContent("Test");
TDSet tdset = new TDSet();
tdset.addItem(td);
--> SavotTR tr = new SavotTR();
--> tr.setTDSet(tdset);
TRSet rowset = new TRSet();
--> rowset.addItem(tr);
// rowset.addItem(tdset);
SavotValues values = new SavotValues();
values.setId("ID");
......
new feature(s) :
cds.savot.pull.jar, getVersion in SavotPullParser class: returns the current version of the pull parser engine
cds.savot.sax.jar, getVersion in SavotSAXParser class: returns the current version of the SAX parser engine
21 September 2004 : correction in cds.savot.pull.jar, SavotResource, getType() returns now ”” (after reading of a Resource without type) and not “results” which is the default value only in creation mode
21 September 2004 : correction in cds.savot.model.jar, TRSet, getTDSet() ClassException (in some use cases) is corrected
21 June 2004 : correction in cds.savot.writer.jar, ID (if existing) is now written for VOTABLE element
17 June 2004 : correction in Class TRSet method public TDSet getTDSet(int TRIndex)