Add to cvs head. Add new flag to indicate if eml201 were correct or not.
Checkin to head. Remove this class from Runnable and add sql to delete extral nodes in xml_nodes_revision table.
Modify the delete xml_index table query.
Add a new target to run the patch which will correct eml201 documents.
Add code to execute sql command and finish the task.
Fixed syntax error: no ; at an end of import statement.
A class to correct invalid eml201 documents. Metacat 1.8.0 and ealier version points incorrect eml-resource.xsd. We need fix eml documents.Haven't done yet.
New version of KNB architecture diagram, in OmniGraffle and PNG formats, with subset diagrams for morpho, metacat and web in png formats.
Separate eml201 schema (RELEASE_EML_2_0_1) and style tag (RELEASE_EML_2_0_1_UPDATE_6).
use CDATA when calling the insertTemplate...() javascript methods.
include contextURL parameter (part of token elimination)
Add a new class will build query result able in advance. It has been done yet.
Change the eml-201 tag from update 5 to update 6.
include leading slash for default ascii view xsl (needs to work in cases where the doctype mapping is not found)
use the ROOT knb web application path of the search box and header inclusion.
use the configured knb site url rather than a hardcoded value for the redirect (since we have it in the properties now)
include leading slash in the default-style xsl pathNOTE: this should be corrected in all the qformat.xml files that the skins use
add servletURL parameter (part of token-eradication project)
add contextURL parameter (part of token-eradication project)
add support for FGDC document display for the knb skinsee bug 3146
based on what jing found with the sanparks search performance issue, his comment for sanparks applies for this saeon file too:"Changing search field from idinfo/keywords/theme/placekey to placekey"
use consistent table attributes (100% width and 0 cell spacing) so that KNB skin looks better when displaying fgdc documents
use "placekey" (without additional leading xpath) because that is in the indexPaths of the build properties (and is used for other searches.should improve performance....
Fixed a bug pathexpr was modified if pathexpr is an attribute.
Add new path index in build.properties - dataset/dataTable/physical/distribution/online/url/@function
Use plant to replace datos as search value in the query example.
remove an extra . and use metacat to replace database in upload method.
Iniital addition - doc describing ANT token replacement
Restore after accidental deletion
Changes to remove ANT tokens for the turnkey install project
Add code to test upload same identifier twice.
Changing search field from idinfo/keywords/theme/placekey to placekey
limit searching to "common" fields that are indexed.include checkbox to search all fields.see bug #3174
-add FGDC specifc fields for indexPath searching-limit FGDC data returned for the NCEAS skin to those that have "placekey" fields containing "National Center for Ecological Analysis and Synthesis"
Modified the query example which will give user more sense.
Parameterize FGDC update/delete functions with the "enableFGDCediting" parameter.Stylesheets that include fgdc-root.xsl must now set the edit parameter to "true" if they wish to have the editing widgets displayed (true for sanparks and saeon skins but not for nceas)
Enable file naming when returning a zip file of the requested documents.File names for each docid are provided as additional parameters named by the actual docid value that they are providing a name for. An example query string might look like:
action=read&docid=doc.1.1&docid=doc.2.1&qformat=zip&doc.1.1=fileName1.txt&doc.2.1=fileName2.jpg...
Fixed bug that lsid couldn't be shown up in result page of kepler skin. The bug is that in extended query, lsid attribute was treated as a element, but it is attribute.I also optimized the query by deleting xml_documents table from query. The table is not needed.
remove duplicate CREATEDB step in instructions (pointed out by daigle, thanks!)
Fixed bug that kepler skin wouldn't return actor name in query. The reason is there was no separate vector to store returnfield with "]". So those fields with or without "]" are handledtogether (which shouldn't). When seperate those return fields, the bug was fixed.
Include the contextURL as a parameter for the transformer. Remove leading / from resultset paths
add additional paths that are requested as returnfields in the sanparks/saeon skin searches.see bug #3174
Add a new string buffer to store normalized query xml itself.
use {$contextURL} and {$cgi-prefix} param for absolute paths (instead of relative paths)
use {$contextURL} param for absolute paths (instead of relative paths)note: this file seems not to be used in metacat now.
Fixes to record sies of ecogrid files, and to flag html files.
Add upload method into api.
Remove commented test case.
Don't transfer character which is greater than 128 or less thank 32 to numerical entity symbol.
Modified the normalize subroutine - don't use 26 (url encoding) to replace x%x
Using reponse.getOutputStream to replace reponse.getWriter in query and read method. So metacat can send correct special character back.
Modified the test for nonlationcharacter.
Modify normolize method by adding code to handle < > ' and "
Remove an obsolete class.
Remove an obsolete private method getPartNodeRecordList.
Add new code for xml_nodes table.
Some script to generate text search vector.
Add timeout parameter for searching user name. If some exception happens, it wouldnot throw it, just print it out.
Add a junit test for test AuthLdap. Currently we have getPrincipals test.
display the docid.also just display the publication date as is since the existing parsing made too many assumptions about how the date would be formatted
use $sessionid to determine if the edit boxes are shown
reuse the fgdc-root.xsl for both nceas and sanparks skins (it is included in different containing stylesheets)note: still need to pin down the switch that [dis]allows editing of the the files
use contextURL parameter so that the "shortform" url for looking at documents actually works and pulls in the correct js and css files
add support for FGDC doctype display
if there is no clientViewBean in the session, insert a new one - saves us from nullPointerException when using this in skins that may not be aware of the bean uses.
ignore commented out DOCTYPE declarations (don't force validation on them)
Get rid of the ant tokens and the relative paths by using the context url and cgi prefix provided by the settings.jsp.Now the "short form" of urls will work with the iframe skins. sanparks and saeon can also be set as the "default" skin and the paths will resolve correctly....
include the contextURL parameter that is now being passed in by the DBTransform class.pass this value to the javascript that assembles the iframes
check for a leading "/" in the path when prepending the server context url.we don't want to step on toes of people that are using "semi" relative paths (they leave out the server part, but provide the rest of the path)
add debug statements so it's clear what transformer parameters are being passed
Use dev=1 replace dev like '1'. since postgres 8.3 doesn't support it.
-use jsp rather than html files so hat the server context can be looked up on the fly (as well as additional options from the MetacatUtil class).-incorporate the use of relative paths in the XML configuration (doctype=>stylesheet mapping)
Note: still using ant tokens in the .cfg file used for perl...not sure how to convert that.
include contextURL and cgi-prefix as parameters in all the transforms (initially used for nceas skin to remove ant tokens in the XSL files....but will be used by other skins as they are converted away from at tokens)
use cgi-prefix from build properties to configure the default skin for login.removed hardcoded "ldap.ecoinformatics.org" reference in the jsp and reads it from the metacat.properties file.
Note: still uses ant token from the build.properties file, but at least centralizes the spot where the token needs to be dealt with.
Add debug info for special charater.
Remove the relation query.
use the servlet context path to construct absolute paths to the various file locations
add servletContextUrl to make absolute paths from relative paths when constructing skins from the js/iframe template
add portnumber if not using 80
Change the relative path to use a function getServerName+getPortNumber+getContextPath. But there is still problem in default.js.
Add server url to system id.
Skeleton for data insertion script. Also added documentation to Metacatlibrary.
MOdified query passing, and default cache location.
Initial script for downloading and caching data entities associatedwith an EML document that is stored in Metacat.
Improved the javadoc documentation for the upload() methods to clarify what upload() does and contrast it to insert() and update().
Turnkey installer modification: replaced and tokens with relative paths.
Turnkey installer modification: created HeaderViewDocs.jsp as a replacement for HeaderViewDocs.htm, because a call to MetacatUtil to get CGI-PREFIX is needed.Also replaced and tokens with relative paths.
Turnkey installer modification: created ESAHeader.jsp as a replacement for ESAHeader.htm, because a call to MetacatUtil to get CGI-PREFIX is needed.Also replaced and tokens with relative paths.
Turnkey installer modification: replace ant tokens with relative paths. Corrected path to css file.
Turnkey installer modification: replaced ant tokens with relative paths. Also corrected path to css file.
Turnkey installer modification: replace ant tokens with relative paths.
Turnkey installer modification: replace ant tokens with relative paths. Corrected wrong path to css file.