Merge cvs branch replication to cvs head.
Merge DBConnection branch to head.
Fixed the function to return the max id for a given scope. Now the functiontakes a parameter named 'scope' and returns the largest docid that has beenused under that scope in this metacat instance (it used to return the mostrecently created docid, which is clearly different). For compatibility with...
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=248Included utility function about gettig the latest docid for a user:DBUtil.getLastDocid(username).Metacat parameters:action='getlastdocid'username
implemented interface for download of DTD or Schema file from Metacat file systemthrough the params:action="getdtdschema" doctype
added precise location information (class.method) to each catch statement so that errors are more easily traced.
Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
for getDoctypes() addedWHERE entry_type='DTD' condition in the select statement
change the resultset format for DataGuide
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
doctype attr in xml_index table has been addedso changed the getDataGuide routine to select for paths by given doctype
utility class for reading various of data from db