[DAS2] Shouldn't prefix be /das2?

Andrew Dalke dalke at dalkescientific.com
Wed Mar 15 14:46:39 UTC 2006


> Shouldn't the prefix to das2 requests be http://server/blahblah/das2   
> ?
>
> It would make it easier for clients to load the correct parsing code 
> and would
> avoid the client having to make a round-trip to the server just to 
> determine
> whether it is dealing with a das/1 or das/2 server.

It doesn't need the round-trip.  It can look at the Content-Type to
figure that out.

Plus, few of the DAS1 servers follow the DAS1 naming scheme.  Here's
a list from Andreas' registry server.

genome.cbs.dtu.dk:9000/das/tmhmm/
genome.cbs.dtu.dk:9000/das/netoglyc/
das.ensembl.org/das/ens_sc1_ygpm/
atgc.lirmm.fr/cgi-bin/das/MethDB/
smart.embl.de/smart/das/smart/
supfam.org/SUPERFAMILY/cgi-bin/das/up/
mips.gsf.de/cgi-bin/proj/biosapiens/das/saccharomyces_cerevisiae/

All of them do have the substring '/das/' somewhere, but not
at the start/end of the string.

Now, the content-type might be "application/xml" and not sufficient
to disambiguate between the two documents, but in that case you can
dispatch based on the root element type.

					Andrew
					dalke at dalkescientific.com




More information about the DAS2 mailing list