Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
1597 04/22/2003 09:25 AM Jing Tao

Change a debug statement.

1594 04/21/2003 10:03 AM Jing Tao

Add debugMessage.

1590 04/19/2003 07:06 PM Jing Tao

Add code to parse triple.

1574 04/17/2003 10:53 PM Jing Tao

Get rid of access and relationa runner from run() method.

1535 04/09/2003 04:36 PM Jing Tao

Add run access control even for access document.

1518 04/07/2003 10:58 AM Jing Tao

Change the debugMessage for characters.

1516 04/07/2003 10:33 AM Jing Tao

Add code to handle check inline data if a user update it but the user doesn't have permission to do it.

1510 04/03/2003 06:34 PM Jing Tao

Change processDTD to protected.

1465 03/10/2003 11:56 AM Jing Tao

Add code to debug warning and error message.

1462 03/07/2003 04:24 PM Jing Tao

Add a debug message for fatal error.

1440 03/03/2003 10:18 AM Jing Tao

Fixed a bug the for comment in xml documents. It cause a Unterminated quoted string problem in psql.

1415 02/20/2003 05:51 PM Jing Tao

Add a varible to keep track node id and every call for write to xml_nodes will return a node id.

1411 02/18/2003 11:58 AM Jing Tao

Add the code the handle text node was splitted

1404 02/13/2003 06:01 PM Jing Tao

Change a varible from private to protected.

1396 02/11/2003 03:08 PM Jing Tao

Add code to call SchemaLocationResolver.

1389 02/04/2003 06:08 PM Jing Tao

If insert a schema xml, the doctype will be root element name space.

1364 01/09/2003 06:12 PM Jing Tao

In the end of dtd, set processingDTD false.

1359 01/08/2003 05:29 PM Jing Tao

Merge the code for monarch.

1329 11/08/2002 01:53 PM Jing Tao

Get rid of running parser access documents into rules when it handle a access document. (we only need to parser it when handling a dataset file).

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1062 05/08/2002 04:03 PM Jing Tao

Assign debug level to parser. (it level is 50)

955 03/05/2002 11:33 AM Jing Tao

A constructor was added to this class. In this constructor, user can specify the revision number he want to update. And the number can be passed into a DocumentImpl object constructor in startElement method. But the number should be greater than current number in database.

899 01/18/2002 10:24 AM berkley

made a ton of changes related to keeping oracle SQL code out of the main classes. fixed a bug where the timing of the index thread was off so when it went to index a document, the document was not already in xml_documents thus breaking the FK relation between xml_documents and xml_index. I think that bug might be the reason for the blank resultset screens in morpho. made the postgres implementation much more robust.

887 12/20/2001 12:13 PM berkley

made it so we can now use multiple accessfilestypes and packagdfiletypes in the metacat.properties file. Also fixed a bug introduced when the 'http://' was removed from behind the server name in the loaddtd.sql script and the knb.xml file

831 09/14/2001 11:59 AM bojilova

small fix to enable resolving external entities included in the DTD;
external entities are now resolved successfully by DBEntityResolver using the specified system ids
and thus there no need of registering the relative system ids,
This is because EntityResolver uses its internal implementation to map the relative system ids to the...

826 09/12/2001 02:49 PM bojilova

changes to store namespace prefixes separately from the local names of nodes (elements and attributes)
in xml_nodes.nodeprefix column

821 08/15/2001 01:38 PM bojilova

added support for Namespaces.
Metacat now can store and retrieve XML documents with Namespaces.
Namespace is stored as separate record in xml_nodes table with type "NAMESPACE"
where nodename is the prefix and nodedata is the uri of the namespace.

819 08/08/2001 12:56 PM bojilova

- when the Access file goes first before the Package file (eml-dataset-2.0)
relations are not available in xml_relation, thus updated the code
to check and run ACL also after the Package file is saved.
- cut out the rev# from subject and object in xml_relation as needed by ACL...

802 07/20/2001 09:03 PM bojilova

added support for multiple group membership

797 07/17/2001 07:58 PM bojilova

Simplified ReplicationHandler:
It is run now in the same thread started from DBSAXHandler;
thus the same connection opened in that thread is used,
i.e. no need for new connection and no complains as "Connection is closed" in ReplicationHandler;
"Connection is closed" error happens when in the current thread there are try to use connection opened in another thread,...

697 02/07/2001 02:07 PM bojilova

- fixed missing replication of public_access
- new attribute catalog_id added in xml_documents and xml_revisions
as a FK to xml_catalog; catalog_id is replicated also

691 01/31/2001 10:50 AM bojilova

cleared DOCTITLE attribute in xml_documents and xml_revisions
cleared all mentions of doctitle

684 01/19/2001 04:12 PM bojilova

Solving the problem with relication of access file where access files were rejected from the replication servers.
In AccessControlList check for serverCode is included,
so only on the local server the connected user is checked for having "all" permissions on the resources specified in it...

680 01/19/2001 11:05 AM bojilova

included new servlet parameter "public" specifing public read access for the submitted document
the expected values are "yes" or "no"
public parameter is optional and if it is not specified, means "no"

675 01/18/2001 03:15 PM berkley

added precise location information (class.method) to each catch statement so that errors are more easily traced.

669 01/18/2001 11:52 AM Matt Jones

Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.

660 01/12/2001 09:55 AM bojilova

- turned on the validation in order only valid xml docs comformed to the specified dtd (if any) to be submitted in metacat
- with validation "on" white spaces are reported from ignorableWhitespace() callback, not from characters() (as with validation "off")...

645 01/08/2001 05:11 PM bojilova

- appling acl through access files only
- clearing around update/delete of access files - to delete the related records from both xml_access and xml_relation tables
- included check for user permissions for setting acl on the resources in the access file
- moved RelationHandler.deleteRelations(docid) down in RelationHandler obj just before the write of the new relations

640 01/04/2001 06:13 PM bojilova

Use the new property "accessdoctype" to check if this is access file.
If it is, run AccessControlList for wirting into xml_access and xml_relation tables.
This is the thread that writes XML Index but afterwards.

638 01/04/2001 05:12 PM bojilova

included support for submition of access files
+ storing the acl info in xml_access table and relationship records in xml_relation table like
<aclfile, "isaclfilefor", recourceIdentifier> for every resource included in the access file

549 11/16/2000 03:26 PM berkley

removed dependence on a server code in the accession number of each document. the file's resident server is now located in xml_documents.server_location.

530 11/13/2000 02:26 PM Matt Jones

Fixed typo in DBSAXHandler debug message.

523 11/09/2000 01:55 PM berkley

changed naming scheme

513 11/06/2000 10:38 AM bojilova

bug fix about util.openDBConnection() for xmlIndex tread

486 10/03/2000 02:23 PM berkley

removed debug print statements.

483 10/03/2000 12:55 PM berkley

allowed both indexing threads to run without interfering with each other.

471 09/26/2000 04:02 PM bojilova

Separate thread used for writing into xml_index table.
This cut the time of the response on insert almost in half.
The tread is started afterwards
(on end of document parsing and inserting into xml_nodes) from
DBSAXHandler and uses new(separate) db connection....

460 09/20/2000 01:21 PM bojilova

on character(cbuf, start, len) included:
if currentNode.getTagName().equals("title")
currentDocument.setTitle(cbuf)
instead of using:
currentDocument.setTitleFromChildElement() in endDocument() call

457 09/15/2000 05:40 PM bojilova

changes related to decrease the time of INSERT of document.
With these changes I inserted 200KB file for 3 minutes, 50KB for 50sec.
This is mainly simplifing the DBSAXNode class and
using batching feature of Oracle JDBC driver.

425 08/31/2000 05:01 PM bojilova

storing user_owner and user_updated where needed
new function in DocumentImpl checking for "write" perm on UPDATE or DELETE
added delete from xml_index of the old version of docid on UPDATE

408 08/24/2000 06:28 PM Matt Jones

Continued code redesign for the DocumentImpl class. Now the "delete" and
"write" methods are static, so a DocumentImpl objject need not be created
in order to initiate a INSERT, UPDATE, or DELETE action (it is created
implicitly by the DBSAXHandler). When doing a "READ" action, one still...

396 08/22/2000 11:56 PM Matt Jones

Folded the functionality from DBSAXDocument into the DocumentImpl class.
Now DocumentImpl handles both the reads and the writes to the database.
Eventually, it will implment the full DOM Document interface. Eliminated
the DBSAXDocument.java file as it is no longer relevant....

349 08/14/2000 01:53 PM Matt Jones

Added "release" keyword to all metacat source files so that the release
number will be evident in software distributions.

313 08/03/2000 04:17 PM bojilova

Call to DBSAXNode constructor simplified

243 06/29/2000 04:27 PM Matt Jones

Fixed bug in DBEntityResolver so that it now properly delegates to
the system id found inthe database.
Changed DBValidate to use DBEntityResolver, rather than the OASIS
catalog, and to return validation results in XML format.

220 06/27/2000 08:14 PM Matt Jones

Fixed bug where TEXT nodes couldn't be longer than 4000 characters, which
is the maximum length of a VARCHAR2 field in Oracle. Now, if text
exceeds the field length, I break the text up into a series of TEXT
nodes each of the max field length, and the remainder in the last...

204 06/26/2000 09:31 PM Matt Jones

Fixed bugs associated with the new UPDATE and DELETE functions of
DBWriter. There were problematic interactions between some static
variables used in DBEntityResolver and the way in which the
Servlet objects are re-used across multiple client invocations....

203 06/26/2000 03:35 AM Matt Jones

Merged in substantial changes to DBWriter and associated classes and to
the MetaCatServlet in order to accomodate the new UPDATE and DELETE
functions. The command line tools and the parameters for the
servlet have changed substantially.

186 06/23/2000 12:09 PM Matt Jones

Fixed bug in DBWriter using the new SAX2 interface. Turned out it was a bug in xerces-1_1_1, which was fixed by Andy Clark after I reported it.

185 06/21/2000 07:20 PM Matt Jones

1) Simplified database connection creation by adding new utility routine in MetaCatUtil that reads configuration information from the properties file.
2) Created MetaCatUtil.getOption() to retrieve options from properties file.
3) Unified SAX Parser creation by specifying parser driver in the properties file and dynamically loading it using the XMLReaderFactory interface....

168 06/15/2000 08:20 PM Matt Jones

documentation cleanup

149 06/12/2000 12:52 PM bojilova

assign rootnodeid, docid for every node in xml_nodes table by given document

142 06/07/2000 08:47 PM Matt Jones

reincorporated Title registration code for documents

137 06/07/2000 05:28 PM Matt Jones

Renamed DBSAXElement to DBSAXNode

136 06/07/2000 05:19 PM Matt Jones

rearranged API for incrementing the node index within the parent node

135 06/07/2000 05:16 PM Matt Jones

rearranged API for incrementing the node index within the parent node

134 06/07/2000 03:42 PM Matt Jones

code consolidation, cleanup, and documentation

133 06/07/2000 03:40 PM Matt Jones

code consolidation, cleanup, and documentation

131 06/07/2000 10:58 AM Matt Jones

general module cleanup

122 06/06/2000 05:43 PM Matt Jones

Modifying storage model to use DOM TEXT nodes -- update is incomplete and query code doesn not work for this checkin

110 05/31/2000 10:50 AM bojilova

changed case 4/ to be like case 3/ when no doctype specified

109 05/30/2000 05:56 PM bojilova

document root node, doctype changes

98 05/12/2000 06:29 PM Matt Jones

improved query result handling

92 05/11/2000 04:34 PM bojilova

made changes about document doctypes

90 05/09/2000 04:47 PM Matt Jones

updated handler to deal better with Public IDs

76 05/04/2000 07:45 PM Matt Jones

fixed DBSimpleQuery after doctype additions done by Jivka

75 05/04/2000 05:38 PM Matt Jones

Fixed package bugs in new Entity and comment handling code, updated Makefile

72 05/04/2000 03:30 PM bojilova

Included new features about writing XML documents into db
This includes writing data into db XML Catalog, document data into xml_documents,
comments into xml_nodes, added nodeindex for the order of elements by given parent element.

51 04/17/2000 04:06 PM Matt Jones

changed package name to edu.ucsb.nceas.metacat.*

35 04/13/2000 09:48 AM Matt Jones

documentation updates

31 04/11/2000 08:04 PM Matt Jones

documentation additions

30 04/11/2000 07:15 PM Matt Jones

general cleanup and documentation

29 04/11/2000 07:09 PM Matt Jones

general cleanup and documentation

18 04/11/2000 09:40 AM Matt Jones

Partially functional SAS DB loader.

17 04/11/2000 09:09 AM Matt Jones

Split XML SAX handler class into seperate file DBSAXHandler.java