Project

General

Profile

metacat / validate.html @ 100

1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html>
3
<head>
4
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
   <meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; U) [Netscape]">
6
   <title>Insert XML to be validated here:</title>
7
</head>
8
<body bgcolor="#FFFFFF">
9
Insert XML to be validated here:
10
<br><form action="/servlets/MetaCatServlet" method="POST">
11
<input type="hidden" name="action" value="validate">
12
<p><textarea 
13
    name="valtext" rows="16" cols="146">&lt;?xml version="1.0"?>
14
&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>
15
&lt;dataset_id>NCEAS-1998-2090&lt;/dataset_id> &lt;title>Trapping locations,
16
animal body mass, and breeding conditions of Neotoma fuscipes on Sedgwick
17
Reserve&lt;/title> &lt;originator> &lt;party> &lt;!--(party_individual|party_org)-->
18
&lt;party_individual description="Full name of individual"> &lt;salutation
19
description="Salutation">Dr.&lt;/salutation> &lt;given_name description="First
20
name">Rebecca&lt;/given_name> &lt;surname description="Last Name">Burton&lt;/surname>
21
&lt;/party_individual> &lt;meta_address> &lt;address>National Center for
22
Ecological Analysis &amp; Synthesis, University of California, Santa Barbara,
23
735 State St., Suite 300&lt;/address> &lt;city>Santa Barbara&lt;/city>
24
&lt;admin_area>CA&lt;/admin_area> &lt;postal_code>93101&lt;/postal_code>
25
&lt;country>USA&lt;/country> &lt;email>burton@nceas.ucsb.edu&lt;/email>
26
&lt;phone> &lt;/phone> &lt;/meta_address> &lt;/party> &lt;/originator>
27
&lt;abstract> &lt;paragraph>&lt;/paragraph> &lt;/abstract> &lt;keyword_info>
28
&lt;keyword>&lt;/keyword> &lt;keyword_thesaurus>&lt;/keyword_thesaurus>
29
&lt;/keyword_info> &lt;relations/> &lt;/eml-dataset></textarea>
30
<p><input type="submit" name="B1" value="Submit">
31
<br></form>
32
<p>The server has a catalog system for reading DTDs. All 8 EML DTDs are
33
included as entries with the format:
34
<p><font face="Courier">OVERRIDE YES</font>
35
<br><font face="Courier">PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"</font>
36
<br><font face="Courier">SYSTEM "urn:nceas:test-eml-dataset" "eml-dataset.dtd"</font>
37
<br><font face="Courier">SYSTEM "eml-dataset.dtd" "eml-dataset.dtd"</font>
38
<p>Any one of the indicated SYSTEM or PUBLIC identifiers can be used in
39
the XML
40
</body>
41
</html>