Finished the coding to ckeck an user try to update a subtree which it doesn't have write permission.
Add code to handle checking if user updated a subtree which he doesn't have permission.
Change processDTD to protected.
Add code to checking if user update a subtree it doesn't have write permission.
Add a class to handle append a unreadable subtree to document. (Not finished yet)
Add code to do get subtree nodes from db.
Add some getmethods.
Change debugMessage prototype.
Change debugMessage
Chagnge debugMessage prototype.
Change the debugMessage prototype.
Change the prototype for debugMessage()
Change the debugMessage from (string) to (string int)
Change debugMessage method from (String) to (String, int).
Fixed a bug to check permission for a node.
Revise the method to get docid withoutRevision from inlinedataid.
Finished the implementation for action readinlinedata. The prototype is action=readinlinedata&inlinedataid=eml.23.1.1
Set default content type for data file.
Add code to handle check a node permission for subtree access control.
Add a new method to get docid from inline data id.
Add a new action readilninedata for metacat. By this action, user can read inline data only.
Add a flag in read action that the user want inline data in xml document or not.
Fixed bug that the parser can't handle a eml without access.
Add code handle if put inline data into xml document or not.
Change the debug message.
Change the debug level.
Add code in addtionalmetadta, so metacat can handle same subtree id was put in describes in different additionalmetadata.
Add a field varible references and set, get methods.
Add eml parser checking here.
Fixed a bug in reading data file.
Add code to handle validate xml instance by noNamespaceSchemaLocation.
Add code to debug warning and error message.
Add a debug message for fatal error.
Fixed a bug that didn't close the filewriter after finishing writing.
Fixed a bug that when reading a inline file, there is null at the end.
Add the code to pull out inlinedata and store it into file system. Only the file name will be stored into db.
Add code to put back inline data from file system.
Add some debug message.
Revise the query for access control return field.
Revise the sql for access control for return fields.
Add code to handle access control for return fields.
Fixed a bug that the column in sql is ambiguous.
Fixed a bug which cause infinite loop.
Add nodes access control for print extended query.
Add access control for return fields.
In search query, add subtreeid is null this condition to make sure is for top level documents.
Add a access control query for return fields.
Add access control for return fields in the subtree.
Just now made a wrong sumbit and revise it.
Add access query for control the return fields.
Using the contant in documentImpl rather using itself.
Fixed bug the no matter the xml is base on schema or dtd, the output will add a line for doctype. This will cause eml document invalidate.
Fixed a bug the for comment in xml documents. It cause a Unterminated quoted string problem in psql.
Add code to handle read part of tree. Now the subtree access control for reading works.
Fixed a bug that access control couldn't write into db.
Add the code to handle subtree access control.
Change the calling method.
Add the code to handle subtree control for reading(but finished yet).
Does not setting namepaces-prefix feature true for sax parser. If set it true, namespace will be treat as both namespace and attribute.
Adding more constant strings.
Chane a info for output.
Change some hard code to constant string.
Change the code to handle permission checking.
Move the permission checking part.
Add a file to handle permission checking.
Get rid of the permission code to handle ticket count and duration.
Add code to delete the previous permission when update.
Now, eml parser can support pulling out access control for document level and subtree level.
Modify postgres access table.
modify access table.
Script for postgres to modify access table.
Srcipt file to modify xml_access.(adding 3 new fields - subtreeid, start node id and end node id)
Add code to handle subtree.
Every call to write into xml_nodes will return current node id.
Add a varible to keep track node id and every call for write to xml_nodes will return a node id.
A new class to store info about sub tree.
Add code to handle additional access data and reference.
Add the code to handle text nodes were splitted to couples.
Add the code the handle text node was splitted
After finishing parsing a access rule and accessSection, assign them to a new object.
Set a condition to for setting eml2 parser.
Access control for documents level works.
Set up an eml parser.
Implement clone method.
Implement to handle document level access control.
Change a varible from private to protected.
Fixed error.
Add copy object method.
Add some constants
A new class to reprent a eml access module.
A new class represents access rules, include principles, permissions.
A new sax parser will handle eml2 (not finished yet)
Add a new contant string access.
Add code to call SchemaLocationResolver.
Change schemalocationkeywords constant from private to public and it can be reused.
Change the debugMessage method. Only debug is true and debug level is higher, the statement can be print out.
Change checkURLConnection to public static. It can be rused.
New class to handle ingore user specification for schema location, upload new schemalocation to metacat and register namespace and schema location in xml_catalog table.
Set mutiple external schema locations for parser.
If insert a schema xml, the doctype will be root element name space.