storing user_owner and user_updated where needednew function in DocumentImpl checking for "write" perm on UPDATE or DELETEadded delete from xml_index of the old version of docid on UPDATE
Continued code redesign for the DocumentImpl class. Now the "delete" and"write" methods are static, so a DocumentImpl objject need not be createdin order to initiate a INSERT, UPDATE, or DELETE action (it is createdimplicitly by the DBSAXHandler). When doing a "READ" action, one still...
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. Eliminatedthe DBSAXDocument.java file as it is no longer relevant....
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
Call to DBSAXNode constructor simplified
Fixed bug in DBEntityResolver so that it now properly delegates tothe system id found inthe database.Changed DBValidate to use DBEntityResolver, rather than the OASIScatalog, and to return validation results in XML format.
Fixed bug where TEXT nodes couldn't be longer than 4000 characters, whichis the maximum length of a VARCHAR2 field in Oracle. Now, if textexceeds the field length, I break the text up into a series of TEXTnodes each of the max field length, and the remainder in the last...
Fixed bugs associated with the new UPDATE and DELETE functions ofDBWriter. There were problematic interactions between some staticvariables used in DBEntityResolver and the way in which theServlet objects are re-used across multiple client invocations....
Merged in substantial changes to DBWriter and associated classes and tothe MetaCatServlet in order to accomodate the new UPDATE and DELETEfunctions. The command line tools and the parameters for theservlet have changed substantially.
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.
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....
documentation cleanup
assign rootnodeid, docid for every node in xml_nodes table by given document
reincorporated Title registration code for documents
Renamed DBSAXElement to DBSAXNode
rearranged API for incrementing the node index within the parent node
code consolidation, cleanup, and documentation
general module cleanup
Modifying storage model to use DOM TEXT nodes -- update is incomplete and query code doesn not work for this checkin
changed case 4/ to be like case 3/ when no doctype specified
document root node, doctype changes
improved query result handling
made changes about document doctypes
updated handler to deal better with Public IDs
fixed DBSimpleQuery after doctype additions done by Jivka
Fixed package bugs in new Entity and comment handling code, updated Makefile
Included new features about writing XML documents into dbThis 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.
changed package name to edu.ucsb.nceas.metacat.*
documentation updates
documentation additions
general cleanup and documentation
Partially functional SAS DB loader.
Split XML SAX handler class into seperate file DBSAXHandler.java