Project

General

Profile

1
#
2
#  '$RCSfile$'
3
#   '$Author: leinfelder $'
4
# '$Revision: 7496 $'
5
#     '$Date: 2013-02-22 11:52:58 -0800 (Fri, 22 Feb 2013) $'
6
#
7

    
8
Metacat: XML Metadata and Data Management System
9
------------------------------------------------                      
10

    
11
Version: 2.0.6 Release
12

    
13
Send feedback and bugs to: metacat-dev@ecoinformatics.org
14
                           http://bugzilla.ecoinformatics.org
15

    
16
Contributors: Matt Jones (jones@nceas.ucsb.edu)
17
              Chad Berkley (berkley@nceas.ucsb.edu)
18
              Jing Tao (tao@nceas.ucsb.edu)
19
              Jivka Bojilova (bojilova@nceas.ucsb.edu)
20
              Dan Higgins (higgins@nceas.ucsb.edu)
21
              Saurabh Garg (sgarg@nceas.ucsb.edu)
22
              Duane Costa (dcosta@lternet.edu)
23
              Veronique Connolly (connolly@nceas.ucsb.edu)
24
              John Harris (harris@nceas.ucsb.edu)
25
              Callie Bowdish (bowdish@ecoinformatics.org)
26
              Will Tyburczy (tyburczy@ecoinformatics.org)
27
              Matthew Perry (perry@nceas.ucsb.edu)
28
              Chad Burt (underbluewaters@gmail.com)
29
              Ben Leinfelder (leinfelder@nceas.ucsb.edu)
30
              Chris Barteau (barteau@nceas.ucsb.edu)
31
              Shaun Walbridge (walbridge@nceas.ucsb.edu)
32
              Michael Daigle (daigle@nceas.ucsb.edu) 
33

    
34
Patch contributors:
35
              Andrea Chadden (chadden@nceas.ucsb.edu)
36
              Chris Jones (cjones@msi.ucsb.edu)
37
              Johnoel Ancheta (johnoel@hawaii.edu)
38
              Owen Jones (owen.jones@imperial.ac.uk)
39

    
40
Metacat is a flexible database storage system for XML formatted
41
documents and associated binary files. Metacat models the structure of the
42
XML document, therefore allowing storage of XML documents with arbitrary
43
schemas. Metacat supports several databases on the back-end, including Oracle,
44
PostgreSQL and SQL Server (limited).  The server supports XML document
45
storage, retrieval, query, validation, and transformation (using the XSLT
46
stylesheet language).  In addition, there is a mechanism for replicating the
47
database to other metacat instances for backup and load balancing purposes.
48
Metacat currently uses an LDAP database for authenticating users, but was
49
written to accomodate other authentication services as well.
50

    
51
Installation
52
------------
53
See the file "docs/install.html" for detailed instructions
54
for your OS.
55

    
56
Release Notes for 2.0.6:
57
------------------------
58
This patch release focuses on Metacat support for DataONE-enabled Morpho clients
59
* MN.generateIdentifier() support for UUID
60
* Pathquery support for specifying multiple document owners
61

    
62

    
63
Release Notes for 2.0.5:
64
------------------------
65
This patch release focuses on Metacat support for Oracle
66
*SystemMetadata table names have been shortened to comply with Oracle limits.
67
*SANParks/SAEON spatial zip file download fixed
68
*Pathquery performance fix
69
*Hazelcast 2.x upgrade
70
*Correct handling for deleted and archived objects for both Metacat and DataONE APIs
71

    
72
Release Notes for 2.0.4:
73
------------------------
74
This patch release focuses on Metacat-Metacat replication.
75
*Allows Metacat to stream replication update information between servers to avoid connection timeout issues
76
*Allows Metacat replication when source host does not provide SystemMetadata (DataONE)
77
*Fixes an access control issue that could allow search results to include protected documents
78

    
79
Release Notes for 2.0.3:
80
------------------------
81
This is another critical patch release of Metacat 2.0.
82
*Addresses a bug that prevented Metacat replication from completing (timeout error)
83
*Uses more efficient SystemMetadata synchronization using shared Hazelcast map
84

    
85
Release Notes for 2.0.2:
86
------------------------
87
This is a critical patch release of Metacat 2.0.
88
*Addresses a bug that prevented updates to DataONE identified datapackages (e.g., using DOIs)
89
*Addresses a bug that prevented the use of the Metacat API 'getaccesscontrol' action
90
*Updates the Foresite ORE library to correctly serialize resource map documents
91

    
92
Release Notes for 2.0.1:
93
------------------------
94
This is a minor patch release of Metacat 2.0. Please see the previous release notes for complete information.
95
*Addresses an identifier issue during ORE generation for DataONE services
96
*Increases compatibility with older EML content and the Xalan XSLT processor
97
*Removes XSLT 2.0 support (Saxon)
98

    
99
Release Notes for 2.0.0:
100
------------------------
101
This major release includes support for DataONE.
102
*The DataONE v1.0.0 Member Node service APIs are now the preferred method for communicating with Metacat
103
*The existing EcoGrid and Metacat Servlet APIs are deprecated but still available.
104
*EML-embedded access control rules using permOrder="denyFirst" are no longer supported (https://redmine.dataone.org/issues/2614) 
105
*Replication now utilizes client certificates to establish SSL connections between replication source and target servers
106
*Access control rules now apply to objects on a per-revision basis rather than per-docid
107
*Bugs fixed include:
108
-SANParks skin/TPC (5561, 5530, 5533, 5542, 5543, 5544, 5551, 5563, 5566, 5567, 5569, 5353)
109
-Registry (5114, 5244)
110
-Replication (4907, 5537, 5536, 5534, 5520, 5519, 3296)
111
-Spatial cache regeneration can be skipped during reconfiguration/redeployment/upgrade (3811)
112
-Pathquery support for temporal search criteria (2084)
113
-Character encoding of XML now respected (internationalization) (2495, 4083, 3815)
114

    
115

    
116
Release Notes for 1.9.5:
117
------------------------
118
This release fixes those bugs:
119
*Metacat could not download the included schemas in an external schema file during inserting.
120
*Workflow scheduler could not work since the metadata standard of kepler kar file was changed. 
121
*Earthgrid could not transform the Earthgrid query with concept "/" to the Metacat path query correctly.
122
*Document access rules are now preserved when documents are archived during the 'delete' action.
123

    
124
Release Notes for 1.9.4:
125
------------------------
126
This release fixes bugs in the FGDC data package upload and download interface utilized
127
by the SANParks and SAEON skins.
128

    
129
Release Notes for 1.9.3:
130
------------------------
131
This release fixes a harvester bug that prevented the EML harvester from processing
132
harvest lists.
133
The Kepler skin has been updated to support KarXML 2.1.
134
Ecogrid query services now support multiple namespace searches.
135

    
136
Release Notes for 1.9.2:
137
------------------------
138
This release primarily holds the addition of the Threshold of Potential
139
Concern workflow functionality (TPC).  The following issues were addressed:
140

    
141
* Create a properties file for use by JUnit Tests (Bug 2994)
142
* security issue with skins (Bug 3368)
143
* reorganize classes into a more functional specific structure (Bug 3510)
144
* Add admin names as dropdown in configuration login (Bug 3729)
145
* KNB metacat replication error log file is empty (Bug 3885)
146
* Create TPC Report web browse/search pages (Bug 4165)
147
* Create archive extraction functionality (Bug 4166)
148
* Create Workflow Scheduler (Bug 4167)
149
* metacat didn't update xml_path_index table while a document was updated (Bug 4367)
150
* Enforce permissions for tpc workflow viewing and scheduling (Bug 4420)
151
* Fix cross platform TPC GUI issues (Bug 4556)
152
* TPC Sanparks page content lenth issue (Bug 4557)
153
* Create validate and isAuthorized unit tests (Bug 4558)
154
* Cannot insert replication server via gui (Bug 4594)
155
* Timed Replication takes many hours and drives the load up on KNB (Bug 4616)
156
* [ESA] Update fails when document rev number is missing (Bug 4627)
157
* fails to catch some insert and update failures (Bug 4637)
158
* must support java 1.6 (Bug 4641)
159
* Convert build to pull eml from svn instead of cvs (Bug 4644)
160
* handleGetRevisionAndDocTypeAction should search both xml_documents and xml_revisions table (Bug 4645)
161
* Metacat couldn't update a document from client, which previous versions only stay in xml_revisions table (Bug 4649)
162
* metacat runs out of memory (Bug 4658)
163
* ESA skin links are hard coded to data.esa.org (Bug 4698)
164
* Update release 1.9.2 release notes (Bug 4707)
165
* Handle writing a text node > 4000 characters to the db. (Bug 4708)
166
* Metacat should run against Tomcat 6 (Bug 4716)
167

    
168
Release Notes for 1.9.1:
169
------------------------
170
The 1.9.1 release holds the bug fixes found after releasing 1.9.0 beta.  
171
These bugs were primarily replication issues.  There is no difference 
172
in functionality between 1.9.0 and 1.9.1 
173

    
174
Release Notes for 1.9.0:
175
------------------------
176
This release focuses on simplifying the Metacat installation process by 
177
creating a binary (war) installation.  The need to build the application
178
on the server has been removed (although the option is still available).
179
In order to facilitate this method of installation, a few major modifications
180
were made to the code:
181

    
182
  -- Ant token replacement was removed for all non-build variables in the 
183
     application (most of this was already done in 1.8.1).
184

    
185
  -- The Metacat properties confguration was moved into the application
186
     itself.
187

    
188
  -- Database schema version detection and install/upgrade utilities were 
189
     added to the application.
190

    
191
Also, this release includes several enhancements:
192
  -- it supports the new EML 2.1.0 version.  
193

    
194
  -- Documents are now stored on the local filesystem as well as in the 
195
     database in order to preserve document integrity.
196
     
197
  -- Metacat verifies new schemas when they are added.
198

    
199
  -- Additional access is propegated with documents during replication.
200

    
201
High priority bugs were addressed in this release as well.
202

    
203
The enhancements/bugs addressed are:
204

    
205
* escaped "less than" in inlinedata causes invalid eml output (Bug 2564)
206
* need to set filename for download files (Bug 2566)
207
* add ability for search engines to index metacat documents (Bug 2826)
208
* EML citation section should include both organizationNames and individualNames (Bug 3059)
209
* refactor skins to get organization list from metacat getOrganizations() function (Bug 3114)
210
* Update dataknp.sanparks.org packageId attributes to match Metacat Ids (Bug 3258)
211
* New documents explicitly set as public access don't show up correctly (Bug 3262)
212
* Modify confguration utility in metacat (Bug 3371)
213
* Integrate perl token replacement changes (Bug 3372)
214
* Create skin specific configuration utility (Bug 3373)
215
* Add authentication for configuration utility (Bug 3374)
216
* Create a sorted properties utility (Bug 3375)
217
* Add DB upgrade/install functionality to java code (Bug 3376)
218
* Create ANT install target for developers (Bug 3377)
219
* Create LSID server installation (Bug 3380)
220
* Create unit test code for 1.9 additions (Bug 3381)
221
* create simple turnkey installer for metacat Phase I (Bug 3461)
222
* Maps do not display in Firefox version 3 (Bug 3462)
223
* Replicate access rules in replication (Bug 3464)
224
* Metacat casesensitive="true" option in pathquery expressions is broken (Bug 3472)
225
* Add full schema checking when metacat register new schema (Bug 3474)
226
* Incorporate EML 2.1.0 access changes in metacat (Bug 3495)
227
* getprincipals action returns invalid XML document (Bug 3527)
228
* Update knbweb to serve new metacat install (Bug 3545)
229
* Replication should write to disk (Bug 3554)
230
* Update acknowlegements in metacat readme (Bug 3588)
231
* Validate the ldap administrator field. (Bug 3616)
232
* Allow for different authentication services in metacat configuration (Bug 3680)
233
* Tag utilities module and have metacat check out that tag (Bug 3685)
234

    
235
Release Notes for 1.8.1:
236
------------------------
237
This release focuses on bug fixes. In this release, the problem that Metacat 1.8.0 and previous 
238
versions use illegitimate EML 2.0.1 schemas is addressed: first, Metacat 1.8.1 comes with
239
legitimate EML 2.0.1 schemas; second, existing invalid EML 2.0.1 documents will be 
240
automatically fixed while maintaining their package ID during the Metacat 1.8.1 upgrading process. 
241
Details please see:
242
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3239
243
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3241
244

    
245
Note: after upgrading the Metacat to version 1.8.1, some replication issues may be seen, e.g., the 
246
EML 2.0.1 documents from Metacat 1.8.0 or ealier verions may be rejected since Metacat 1.8.1 uses
247
different EML 2.0.1 schemas (see bug 3239). If this is case, Metacat administrators should notify
248
their counterparts to upgrade previous version Metacats to 1.8.1. 
249

    
250
The fixed bugs include:
251

    
252
*Character set (charset) problem when filling out form (Bug2797)
253
*Charset bug: > "less than" symbol does not display correctly (Bug2517)
254
*Metacat performance issue in Sanparks skin (Bug 3174)
255
*Metacat using illegitimate versions of EML schema (Bug 3239)
256
*Update older invalidated eml201 document in Metacat (Bug 3241)
257
*Verify existing token changes to skins (Bug 3176)
258
*The edit feature in the NCEAS Data Repoistory does not work (Bug 2644)
259
*Expose permission options for registry uploads (Bug 3014)
260
*ESA registry doesn't have LTER in login dropdown menu (Bug 2647)
261
*Data Catalog Map is slow when selecting (Bug2732)
262
*Only one attribute per element returned with pathquery results(Bug 2999)
263
*The field "skinconfigs" in the MetacatUtil class is public (Bug 3057)
264
*Generalize the reading of skin.configs in DBTransform (Bug3058)
265
*The query example in metacatquery.html document need to be changed (Bug3137)
266
*Add upload method into Metacat tour (Bug 3139)
267
*Query resultset doesn't show component name in kepler skin (Bug 3178)
268
*Add fields used in Morpho search to the default indexPaths property (Bug 3259)
269
*Private data cannot be downloaded from metadata display page (xsl) (Bug 3263)
270
*An error message happen during the metacat start up (Bug 3279)
271
*Replication: Timed replication failures occur twice instead of once (Bug 3304)
272
*Inline Data does not work correctly without the <pre> tag (Bug 3088)
273
*Include FGDC metadata in KNB and NCEAS skin search results (Bug 3146)
274

    
275
Release Notes for 1.8.0:
276
------------------------
277
This release focuses on improving query performance.  Both the selection 
278
and access control queries were rewritten to execute efficiently.
279
To improve search performance, a query caching mechanism was introduced. 
280
Cached queries are currently supported only for public users.
281

    
282
New Features:
283
* Data registries now support uploading of data objects along with data 
284
  packages (Bug 1982)
285
  
286
Bug Fixes:
287
* Metacat Performace: Rewrite the xml_nodes queries (Bug 2155)
288
* Metacat Performace: Rewrite the xml_access part of the query (Bug 2557)
289
* Query cache mechanism (Bug 2905)
290
* Metacat Performance: updates from Morpho of data packages are taking 
291
   longer than five minutes (Bug 2805)
292
* Metacat Performance: Optimize Postgres and Tomcat (Bug 2157)
293
* Metacat Performace: Upgrading hardware setup (Bug 2175)
294
* Metacat Performace: Add/drop indices on key columns (Bug 2153)
295
* Display of metadata documents reorganized, including a new citation format,
296
  obvious download options, and a redesigned data table layout (Bugs 2981, 2832)
297
* I.E. display fixes on default skin (Bug 2579)
298
* Web Address links fixed (Bug 2147)
299
* NCEAS skin redesigned to use IFRAME-less layout, match new website.
300
* Spatial query:  data packages must be fully contained by the selection 
301
  bounding box in order to appear in the search results (Bugs 2972, 2732).
302
* FGDC support: upload, delete, update, access control, and download
303
  (Bugs 2807, 2925, 2926, 2929, 2030).
304
Compatibility Notices:
305
* Tomcat 3 and 4 are no longer tested or supported. Users are 
306
  highly encouraged to upgrade to Tomcat 5.5
307

    
308
Release Notes for 1.7.0:
309
------------------------
310
This release features only a few minor changes to the core Metacat engine. 
311
The major focus of this release is the addition of the spatial functionality.
312
The geographic coverage of metadata documents can now be cached in a GIS-
313
accessible format and published via web mapping services and an online
314
interactive map. 
315

    
316
New Features:
317
* Three new open source libraries have been integrated with Metacat:
318
  - Geoserver:  A standards-compliant web map server to publish
319
                geographic data to the web.
320
               (http://docs.codehaus.org/display/GEOS/Home)
321
  - GeoTools:   A java-based GIS toolkit to programatically
322
                manipulate spatial datasets.
323
                (http://geotools.codehaus.org/)
324
  - Mapbuilder: A javascript application to provide an interactive
325
                web map front-end to Geoserver.
326
                (http://docs.codehaus.org/display/MAP/Home)
327
* Spatial Caching/Indexing mechanism; documents with geographic
328
  coverages will be added to the spatial cache.
329
* Spatial Query action in metacat servlet. 
330
* Interactive Web map to visualize and query the spatial 
331
  distribution of metadata documents.
332
* Experimental python, ruby and php client libraries to interface with metacat.
333
* Preliminary process in place for web based configuration of metacat.
334

    
335
Compatibility Notices:
336
* Tomcat 3 and 4 are no longer tested or supported. Users are 
337
  highly encouraged to upgrade to Tomcat 5.5
338

    
339
Bug Fixes:
340
* Metacat administrators are able to modify and delete documents 
341
  created by other users.
342
* Fixed problems with indexing XML attributes, see bug 2469
343

    
344

    
345
Release Notes for 1.6.0:
346
------------------------
347

    
348
This release comes with more performance improvements, initial support for 
349
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for 
350
Metacat administrators and bug fixes. Below is the list of bug fixes and
351
performance improvements.
352

    
353
Bug Fixes: 
354
* Improved the indexing algorithm. Earlier indexing failed for some documents 
355
  randomly and used to take a lot of time to complete for others. The 
356
  code for indexing was changed to take care of both these problems.
357
* Earlier, xmlns prefix was used to determine the namespace of the document. 
358
  Now schemaLocation is used instead xmlns prefix to determine the namespace 
359
  of the document as that is a better indicator of document type. 
360
* INSTR was used in some SQL statements and it is not supported by Postgres. 
361
  So SQL statements were modified so that INSTR is not used.
362
* Replication was changed to include replication of deleted documents also.
363
* Fixed bug in squery which didnt allow use of not-contains 
364

    
365
New Features:
366
* Added FGDC schema and XSLT so that Metacat can handle FGDC standard
367
* Added support for LSID. This includes modifying the stylesheets to 
368
  display the LSIDs, modifying the build to include a new target 
369
  'install-ldap'.
370
* Added following access control levels to Metacat:
371
    1. Administrators - users who can do the following:
372
       a. Run replication
373
       b. Delete any document
374
       c. Modify any document
375
       d. run indexing for any document
376
       e. check the logs
377
    2. allowedUsers - User who are allowed to submit
378
    3. deniedUsers - Users not allowed to submit
379
* Added a new skin for Ecological Society of America. 
380
* Created an Advanced search servlet which can be used from the web. 
381
* Various connections have been modified to be secure. e.g. connection between 
382
ldaps is made secure now, replication is done over secure channels.  
383

    
384
Performance:
385
* Reduced size of xml_nodes by creating a new table for holding nodes from 
386
  deleted documents and old revisions of the documents. 
387
* Provided a new variable in metacat.properties where more frequently searched 
388
  for paths can be specified. Seperate indexes are created for these paths 
389
  - so that search is faster.
390
* Included log4j for logging and debuging to prevent wasting of time in printing log statements. 
391

    
392
Release Notes for 1.5.0:
393
------------------------
394

    
395
This release comes with performace improvement, user interface enhancements,
396
and bug fixes. Below is the list of bug fixes and performance improvements. 
397

    
398
Bug Fixes:
399
* Modify property values of harvester registration servlets to match the
400
  servlet-mapping URL values in web.xml. The old values used the servlet
401
  class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on
402
  Windows. The new values use the servlet-mapping URL values. This should
403
  work in both Tomcat 4 and Tomcat 5. (Bug 162)
404
* Re-implement logic to prune old log entries from the HARVEST_LOG and
405
  HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint
406
  violations in the database because it tried to delete parent records from
407
  HARVEST_LOG prior to deleting child records from
408
  HARVEST_DETAIL_LOG. (Bug 162)
409
* In data registry, minor bugs fixed like the error page shows the link back
410
  to the form when error page was generated because of a document read
411
  request from search results page,  the successful delete button leading
412
  to a blank screen and the old ACL overwritten by the registry.
413
  (Bugs 1307, 1310, 1322, 1344, 1551)
414
* Changed the code to support insertion of following characters: ', `,
415
  charcters in the Numeric Character Reference format (&#xyz;) and
416
  characters like µ. Characters like µ will be converted to and stored in
417
  Numeric Character Reference format(&#xyz;). They will also be returned
418
  in Numeric Character Reference and it is upto the client to convert them
419
  and display them accordingly in the application. Partial fix provided by
420
  Johnoel Ancheta. (Bug 1538,1711)
421
* Spatial search failed on Oracle because of invalid entries made by
422
  some documents in the nodedata column of xml_nodes for paths involving
423
  'eastBoundingCoordinate', 'westBoundingCoordinate',
424
  'northBoundingCoordinate', 'southBoundingCoordinate'. A new column
425
  nodedatanumerical was added to xml_nodes table such that all the numerical
426
  nodedata is stored in this column and this column is now used for spatial
427
  search. (Bug 1703, 1718)
428
* In the default skin, clicking on the keywords on the home page did not
429
  result is a search being done. Fix provided by Owen Jones. (Bug 1768)
430
* Metacat generated a success message even when a document which didnt
431
  exsist was requested for deletion. This has been fixed. (Bug 1850)
432
* "packagetype" in xml-relation table was entered as eml200 namespace when
433
  an eml201 document was inserted. This is fixed now so that "packagetype"
434
  in xml-relation table points to eml201 namespace. (Bug 1979)
435
* System_id in xml_catalog pointed to http://knb.ecoinformatics.org/knb/
436
  earlier. Fixed such that it points to the locally installed metacat url. 
437
  (Bug 1986)
438
* Changes to the Query subsystem fix bugs that prevented attributes from 
439
  being expressed solely in the xpath query statement and the returnfield 
440
  values. For instance, a query URL may now include search strings like 
441
  '@packageId=sbclter%25' and return strings like 'returnfield=@packageId'.
442
  Previously, the attribute had to be appended to an element: 
443
  '/eml/@packageId=sbclter%25'. These fixes change DBQuery.java, 
444
  QuerySpecification.java, and QueryTerm.java (Bug 2052)
445
* Search query failed in case of Oracle if number of documents in the result
446
  were more than 1000. This has been fixed. (Bug 2000)
447
* Removed any occurence of enum which is now a keyword in Java 1.5
448

    
449

    
450
Enhancements:
451
* Major improvements done in user interface for the data registeries and
452
  various other skins. Improvements done based on suggestions from Mark
453
  Stromberg, Laura Downey and others. Improvements also done in resultset.xsl,
454
  the default skin and ldap templates. (Bug 1948)
455
* Coded added such that administrator can delete documents irrespective of
456
  who the document belongs to.
457
* Performance impovement done in searching of datasets. A part of the search
458
  time was taken up because of generation of resultset after the search had be
459
  done. So this was the sequence of events in earlier metacat
460
  1) Search for the given text
461
  2) A list of docids generated
462
  3) For each of the docids
463
     3a) Use xml_index and xml_nodes table to generate the string descibing
464
         the document including the returnfields requested in the search
465
  4) Add all the strings from step 3a to send back the resultant
466
     document. Here a decent amount of time was being taken by step 3a. 
467
  The algorithm is now modified by addition of two tables xml_queryresult and
468
  xml_returnfields and a user defined parameter xml_returnfield_count. The
469
  new algorithm works as follows:
470
  1) Search for the given text
471
  2) A list of docids is generated
472
  3) For the given set of return fields generate a unique string and check
473
     if that string exists in xml_returnfields
474
     3a) If string does not exist in xml_returnfield, then enter a new
475
         record usage_count as 1 and returnfield_string as the unique string
476
         generated above.
477
     3b) Else if the string exists, increment usage_count
478
  4) Given the docids from step 2 and the id of the returnfield record from
479
     step 3, query for any docids that already exist in xml_queryresult.
480
     For the docids that do exist, get the queryresult_string.
481
  5) For rest of the docids from step2 which were not found in step 4, do
482
     the following for each of the documents:
483
     5a) Use xml_index and xml_nodes table to generate the string descibing
484
         the document including the returnfields requested in the search
485
     5b) If usage_count of the record from step is more than
486
         xml_returnfield_count set in metacat.properties, then store the
487
         string in xml_queryresult as a record which has the returnfield_id
488
         representing the set of returnfields, docid representing the
489
         document and the string as queryresult_string.
490
  6) Add all the strings from step 4 and step 5a to send back the resultant
491
     document
492
  So the results from step 3a in previous algorithm are effectively cached
493
  and hence same computation is not done again and again for each search.
494
  When a document is deleted, all the entries for that document in
495
  xml_queryresult table are also deleted. When a document is updated, all
496
  the entries for that document in xml_queryresult table are deleted. This
497
  works fine because those entries will be generated and cached again the
498
  next time the document is part of a search is requested.
499
* Performance impovement done for % search.
500
* Following new functions added to metacat client API: a method to set access
501
  on an xml document and a method to get newest version for a given document.
502
* Implement a new HarvesterServlet for running Harvester as a servlet. This
503
  eliminates the need to run Harvester in a terminal window. By default, the
504
  HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user
505
  documentation will be modified to instruct Harvester administrators to
506
  uncomment the HarvesterServlet entry.
507
* Minor enhancement to support multiple email addresses for harvester
508
  administrator and site contact. Each address is separated by a comma or
509
  semicolon.
510
* Increase number of rows in Harvest List Editor from 300 to 1200.
511
* Changed default maxHarvests value to 0. Added logic to ignore maxHarvests
512
  value when it is set to 0 or a negative number. This allows Harvester to
513
  run indefinitely without shutting down after reaching a maximum number of
514
  harvests. The previous default value of 30 would cause Harvester to
515
  terminate after 30 harvests.
516

    
517
Details of all changes can be found in the bug database here:
518
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.5
519

    
520

    
521
Release Notes for 1.4.0:
522
------------------------
523

    
524
This is a major release, and is the first to introduce many new features to
525
Metacat.  Some of the major new features in this version of Metacat include:
526

    
527
* Added a new 'Harvester' that allows documents to be periodically pulled
528
  from distributed sources into metacat, useful for interfacing with other
529
  system types. See the Metacat Tour for details.
530
* Added new 'skins' capability to allow the GUI for the metacat web interface
531
  to be more easily customized to fit into site needs.  The skin is based on
532
  a flexible mix of XSLT, CSS, and Javascript.
533
* Added a web-based metadata entry form for submitting limited EML documents
534
  as part of a data registry.  The GUI for the registry is customizable and 
535
  is integrated with the 'skins' system for the main metacat interface.  The
536
  registry subsystem is written in Perl, and can simultaneously be used to 
537
  present multiple 'registry' interfaces.
538
* A new 'client API' has been developed and implemented in Java and in Perl 
539
  so that metacat functions can be accessed from any program in those
540
  languages.  The client API supports the major metacat servlet actions,
541
  including login(), logout(), query(), insert(), update(), delete(), and 
542
  upload(). See the Metacat Tour for details.
543
* Added a new 'getlog' action that produces a usage history for all major
544
  events.  So now an XML report can be generated for document reads, inserts,
545
  deletes, etc.  See the new section in the Metacat Tour.
546
* Added a new 'buildindex' action that can rebuild the index entries for any
547
  document in the database.
548
* The configuration file for metacat (metacat.properties) has been moved out
549
  of the jar file and into the WEB-INF directory, allowing far easier changes
550
  to the configuration parameters.
551
* Results in default web interface are sorted by title in the XSLT 
552
  (configurable)
553
* Many bugs were fixed.
554

    
555
Details of all changes can be found in the bug database here:
556
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.4
557

    
558
Release Notes for 1.3.1:
559
------------------------
560

    
561
This is a simple interim bug fix. No major functionality changes. Bugs fixed 
562
include:
563
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in 
564
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3 
565
    and Java 1.4.
566
 2) Distribution package size was reduced.
567

    
568

    
569
Release Notes for 1.3.0
570
------------------------
571

    
572
In 1.3.0 release, the structure of the xml_access table was changed and a new
573
table, xml_accesssubtree was added. If you try to update a previously 
574
installed Metacat, you should run a script file to updated the table structure 
575
before installation.
576
For Oracle user: At the SQLPLUS prompt type the following -
577
@src/reviseformetacat13.sql
578
For Postgresql user: At install directory prompt type the following -
579
psql exp < src/reviseformetacat13_postgres.sql
580
(where 'exp' is the database name).
581

    
582
After installation, user should run "ant schemasql" command to register EML2
583
schema in xml_catalog table.
584

    
585
If you are a new Metacat user, this step is unneeded.
586

    
587
Note: 1) We recommend to use Tomcat 4 and JAVA 1.4 to run Metacat. Otherwise, 
588
         it will cause potential replication issues.
589
      2) Delete the xercesImpl.jar and xmlParserAPIs.jar files 
590
         which are in $CATALINA_HOME/common/endorsed. They are old version and
591
         don't support XML schema validation.
592

    
593
New Features in 1.3.0
594
  1) Partialy support EML2 document. User can store, query, read and write
595
     EML2 documents. However, Metacat only support access control in resource
596
     level. The subtree level access control will be ignored.
597
  2) Support other xml document base on namespace/schema.
598
  3) Support query for attribute value
599
  4) Assign MIME type to data file base on metadata when user try to read it.
600
  5) Owner can assign access rules to a document which does not have access 
601
     document to apply it.
602
  6) Support exporting single file, not only whole package
603
  7) Resupport Microsoft SQL Server.
604

    
605
Fixes in 1.3.0:
606
  1) Couldn't finish delta T replication for large set of documents.
607
  2) Couldn't create access control during delta T replication.
608
  3) Eorr will be written to a seperated log file if some documents
609
     were failed in replication.
610
  4) Decrease the time to create access rules during insert or update 
611
     a package.
612
     
613
Documentation
614
-------------
615
See the docs directory for detailed documentation and installation
616
instructions.
617

    
618
Details of the Metacat architecture can be found on the website for
619
the Knowledge Network for Biocomplexity (KNB):
620

    
621
  http://knb.ecoinformatics.org/software/metacat/
622

    
623
Contributions to this work are welcome.  Please see the above web site
624
for details on how to contribute.
625

    
626
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
627
-----------------------------------------------------------------------------
628
If you discover a bug please report it, either by email (above) or by using
629
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
630
list of currently unimplemented features in Bugzilla that we are working on
631
for the next release.
632

    
633
Legalese
634
--------
635
This software is copyrighted by The Regents of the University of California
636
and the National Center for Ecological Analysis and Synthesis
637
and licensed under the GNU GPL; see the 'LICENSE' file for
638
details.
639

    
640
This material is based upon work supported by the
641
National Science Foundation under Grant No. DEB99-80154, DBI99-04777, and
642
0225676 for SEEK.  Any opinions, findings and conclusions or recomendations 
643
expressed in this material are those of the author(s) and do not necessarily 
644
reflect the views of the National Science Foundation (NSF).
645

    
646
This software is partially supported by a grant from the Andrew W. 
647
Mellon Foundation.
648

    
649
This product includes software developed by the Apache Software
650
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
651
for details.
652

    
653
The source code, object code, and documentation in the com.oreilly.servlet
654
package is copyright and owned by Jason Hunter. See the cos-license.html file
655
for details of the license.  Licensor retains title to and ownership of the
656
Software and all enhancements, modifications, and updates to the Software.
657

    
658
This software includes the JDBC driver for PostgreSQL.  See the 
659
postgresql-license.txt file for details.
(2-2/6)