Project

General

Profile

metacat / lib / validate.html @ 666

1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<!--
3
  *  '$RCSfile$'
4
  *      Authors: Matt Jones
5
  *    Copyright: 2000 Regents of the University of California and the
6
  *               National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *
9
  *   '$Author: jones $'
10
  *     '$Date: 2001-01-18 11:02:14 -0800 (Thu, 18 Jan 2001) $'
11
  * '$Revision: 666 $'
12
  * 
13
  * This is an HTML document for loading an xml document into Oracle
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
17
  * the Free Software Foundation; either version 2 of the License, or
18
  * (at your option) any later version.
19
  *
20
  * This program is distributed in the hope that it will be useful,
21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
  * GNU General Public License for more details.
24
  *
25
  * You should have received a copy of the GNU General Public License
26
  * along with this program; if not, write to the Free Software
27
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
-->
29
<html>
30
<head>
31
   <title>Insert XML to be validated here:</title>
32
   <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
33
</head>
34
<body class="emlbody">
35
Insert XML to be validated here:
36
<br><form action="@servlet-path@" method="POST">
37
<input type="hidden" name="action" value="validate">
38
<p><textarea 
39
    name="valtext" rows="16" cols="146">&lt;?xml version="1.0"?>
40
&lt;!DOCTYPE eml-dataset PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"> &lt;eml-dataset> &lt;meta_file_id>NCEAS-1998-2090-Dataset&lt;/meta_file_id>
41
&lt;dataset_id>NCEAS-1998-2090&lt;/dataset_id> &lt;title>Trapping locations,
42
animal body mass, and breeding conditions of Neotoma fuscipes on Sedgwick
43
Reserve&lt;/title> &lt;originator> &lt;party> &lt;!--(party_individual|party_org)-->
44
&lt;party_individual description="Full name of individual"> &lt;salutation
45
description="Salutation">Dr.&lt;/salutation> &lt;given_name description="First
46
name">Rebecca&lt;/given_name> &lt;surname description="Last Name">Burton&lt;/surname>
47
&lt;/party_individual> &lt;meta_address> &lt;address>National Center for
48
Ecological Analysis &amp; Synthesis, University of California, Santa Barbara,
49
735 State St., Suite 300&lt;/address> &lt;city>Santa Barbara&lt;/city>
50
&lt;admin_area>CA&lt;/admin_area> &lt;postal_code>93101&lt;/postal_code>
51
&lt;country>USA&lt;/country> &lt;email>burton@nceas.ucsb.edu&lt;/email>
52
&lt;phone> &lt;/phone> &lt;/meta_address> &lt;/party> &lt;/originator>
53
&lt;abstract> &lt;paragraph>&lt;/paragraph> &lt;/abstract> &lt;keyword_info>
54
&lt;keyword>&lt;/keyword> &lt;keyword_thesaurus>&lt;/keyword_thesaurus>
55
&lt;/keyword_info> &lt;relations/> &lt;/eml-dataset></textarea>
56
<p><input type="submit" name="B1" value="Submit">
57
<br></form>
58
<p>The server has a catalog system for reading DTDs. All 8 EML DTDs are
59
included as entries with the format:
60
<p><font face="Courier">OVERRIDE YES</font>
61
<br><font face="Courier">PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"</font>
62
<br><font face="Courier">SYSTEM "urn:nceas:test-eml-dataset" "eml-dataset.dtd"</font>
63
<br><font face="Courier">SYSTEM "eml-dataset.dtd" "eml-dataset.dtd"</font>
64
<p>Any one of the indicated SYSTEM or PUBLIC identifiers can be used in
65
the XML
66
</body>
67
</html>