|
From: Todd P. <tf...@nc...> - 2001-01-26 23:04:04
|
> Good question. The versions changed for two reasons (neither of which > are all that convincing): > * The DTD's were moved from my CVS tree on my local machine to a new > CVS repository (Harry's machine), in a 'CVS-friendly' way that > unfortunately reset all version numbers to 1.1 > * Many comments were modified in the files to change all uses of GEML > to be GeneXML ahhhh...that explains it. > > Now as to how to fix this. Long term, here are my suggestions: > 1) The version numbers are automatically assigned by CVS, and until we > get everything into it's permanent home on SourceForge, these may > change again, and as such, are not stable eww. ok, have to deal with it. > 2) The dates, while also assigned by CVS are more stable, as they will > at least be guaranteed to increase no matter what archive they are > in. unless the date/time is changed. > 3) I would recommend that the CT uses an approach similar to that of > xml2db, which is to accept a list of values and not just a single > value. This means that you could simply add to the list when a > minor version change takes place (such as the comment changes > above). > 4) I'm not sure whether it's possible for you to have these in some > external configuration file instead of in the java source. That way > you could modify the configuration file and not need to recompile > any .class files could be put in properties file. > > Short term to ensure things are working on genex.ncgr.org ASAP: > * I will modify the version strings on the DTD's in the installation so > they appear to be the version you're expecting or i could make the mismatch less strict than it is now by just writing a message to the console window instead of throwing an exception and stopping. That's what I will do for now since versions might be messed up for a while. When we settle things down, versions will be checked again somehow (most likely not the way they are now). > > jas. > > "Todd Peterson" <tf...@nc...> writes: > > > When did versions of DTDs change? Here is what CT is expecting (direct from > > GEMLConstants.java): > > > > public static final String EXPECTED_GEML_VERSION = "1.15"; > > public static final String EXPECTED_USF_VERSION = "1.7"; > > public static final String EXPECTED_CSF_VERSION = "1.4"; > > public static final String EXPECTED_AMS_VERSION = "1.7"; > > public static final String EXPECTED_ALS_VERSION = "1.5"; > > public static final String EXPECTED_GEML_DATE = "2000/10/31"; > > public static final String EXPECTED_USF_DATE = "2000/10/17"; > > public static final String EXPECTED_CSF_DATE = "2000/10/17"; > > public static final String EXPECTED_AMS_DATE = "2000/10/17"; > > public static final String EXPECTED_ALS_DATE = "2000/10/17"; > > > > here's what I get from downloaded control bundle: > > > > <GENEXML cvs_id="$Id: genexml.dtd,v 1.1 2001/01/03 17:38:09 jes Exp $" > > date="2001/01/03" version="1.1"> > > > > <USF cvs_id="$Id: usf.dtd,v 1.1 2001/01/03 17:38:09 jes Exp $" > > date="2001/01/03" > > version="1.1"> > > > > <CSF cvs_id="$Id: csf.dtd,v 1.1 2001/01/03 17:38:09 jes Exp $" > > date="2001/01/03" > > version="1.1"> > > > > <ALS cvs_id="$Id: als.dtd,v 1.1 2001/01/03 17:38:09 jes Exp $" > > date="2001/01/03" > > version="1.1"> > > > > Todd Peterson > > NCGR > > mailto:tf...@nc... > > (505) 995-4417 > |