EML BETA 6 REVISED DTDs AVAILABLE - FIXES POTENTIAL METACAT UPLOAD PROBLEMS
Matthew Brooke
brooke at nceas.ucsb.edu
Fri Jun 21 12:16:50 PDT 2002
EML BETA 6 REVISED DTDs AVAILABLE - FIXES POTENTIAL METACAT UPLOAD
PROBLEMS
*** INTRODUCTION:
Four of the existing Beta6 DTDs installed by the Metacat build script
previously referenced certain elements but did not define them. This
would create validation errors if a user tried to upload packages to
Metacat which contained those particular elements.
*** RESOLUTION:
The eml CVS repository now contains revised (fixed) versions of these
DTDs, as follows:
eml-constraint.dtd - added "<!ELEMENT attributeName (#PCDATA)>"
eml-literature.dtd - added "<!ELEMENT country (#PCDATA)>"
eml-protocol.dtd - added "<!ELEMENT country (#PCDATA)>"
eml-software.dtd - added "<!ELEMENT country (#PCDATA)>"
These DTDs are tagged as "RELEASE_EML_2_0_0_BETA_6_REV1" in cvs
*** INSTALLATION:
A) EXISTING METACAT INSTALLATIONS can be fixed as follows:
1) check these files out of cvs (by typing "cvs co -r
RELEASE_EML_2_0_0_BETA_6_REV1 eml")
(see http://cvs.ecoinformatics.org/cvs/cvsweb.cgi/ for instructions)
2) edit their filenames by adding "-2.0.0beta6", so they become:
eml-constraint-2.0.0beta6.dtd
eml-literature-2.0.0beta6.dtd
eml-protocol-2.0.0beta6.dtd
eml-software-2.0.0beta6.dtd
3) copy the four files directly into the "dtd" folder in metacat's web
context root folder (for example, if you are running Tomcat, and you
access metacat using the "knb" context (as in:
http://myhostname.edu/knb/...etc...etc...), then the dtd's would be in
the folder "$TOMCAT_HOME/webapps/knb/dtd"). You will be over-writing
existing files of the same name; this is OK. (honest :-)
(ALTERNATIVELY:
Find these four DTDs in your existing metacat installation, and edit
them by hand - simply insert the "<!ELEMENT..." declarations shown in
the "*** RESOLUTION:" section, above.)
B) NEW METACAT INSTALLATIONS:
The metacat cvs source has been changed so that metacat's Ant build
script ("build.xml") will install these newer revised dtds automatically
during a new installation. The version of metacat that is currently
available for download on the KNB site does *not* yet include this
updated build script, but it will be included in the next release of
Metacat.
If you have any questions, please feel free to contact me
Regards
Matthew
---------------------------------
Matthew Brooke
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Ste. 300
Santa Barbara, CA 93101
805-892-2531
email: brooke at nceas.ucsb.edu
web: http://www.nceas.ucsb.edu
---------------------------------
More information about the Eml-dev
mailing list