Project

General

Profile

« Previous | Next » 

Revision 858

Added by Matt Jones about 23 years ago

Added new beta5 version of eml-software dtd, and added to catalog.

View differences:

lib/dtd/eml-software-2.0.0.beta5e.dtd
1
<!--         
2
       '$RCSfile$'
3
       Copyright: 2000 Regents of the University of California and the
4
                  National Center for Ecological Analysis and Synthesis
5
     For Details: http://knb.ecoinformatics.org/
6

  
7
        '$Author$'
8
          '$Date$'
9
      '$Revision$'
10

  
11
    This program is free software; you can redistribute it and/or modify
12
    it under the terms of the GNU General Public License as published by
13
    the Free Software Foundation; either version 2 of the License, or
14
    (at your option) any later version.
15

  
16
    This program is distributed in the hope that it will be useful,
17
    but WITHOUT ANY WARRANTY; without even the implied warranty of
18
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
    GNU General Public License for more details.
20

  
21
    You should have received a copy of the GNU General Public License
22
    along with this program; if not, write to the Free Software
23
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
-->
25
 
26

  
27
<!ELEMENT individualName (salutation*, givenName*, surName)>
28
<!ELEMENT salutation (#PCDATA)>
29
<!ELEMENT givenName (#PCDATA)>
30
<!ELEMENT surName (#PCDATA)>
31

  
32
<!ELEMENT organizationName (#PCDATA)>
33
<!ELEMENT positionName (#PCDATA)>
34

  
35
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, 
36
                   postalCode?, country?)>
37
<!ELEMENT deliveryPoint (#PCDATA)>
38
<!ELEMENT city (#PCDATA)>
39
<!ELEMENT administrativeArea (#PCDATA)>
40
<!ELEMENT postalCode (#PCDATA)>
41
<!ELEMENT country (#PCDATA)>
42

  
43
<!ELEMENT phone (#PCDATA)>
44
<!ATTLIST phone phonetype CDATA "voice">
45
<!ELEMENT electronicMailAddress (#PCDATA)>
46
<!ELEMENT onlineLink (#PCDATA)>
47

  
48
<!-- Note that the domain for role is not expressed in the DTD -->
49
<!ELEMENT role (#PCDATA)>
50

  
51

  
52
<!-- common fields -->
53
<!ELEMENT identifier (#PCDATA)>
54
<!ATTLIST identifier system CDATA "">
55
<!ELEMENT shortName (#PCDATA)>
56
<!ELEMENT title (#PCDATA)>
57
<!ELEMENT originator ((individualName|organizationName|positionName)+,
58
                             address*, phone*, electronicMailAddress*, 
59
                             onlineLink*, role+)>
60
<!ELEMENT pubdate (#PCDATA)>
61
<!ELEMENT pubplace (#PCDATA)>
62
<!ELEMENT series (#PCDATA)>
63
<!ELEMENT abstract (paragraph+)>
64
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)>
65
<!ELEMENT keyword (#PCDATA)>
66
<!ATTLIST keyword keywordType CDATA "">
67
<!ELEMENT keywordThesaurus (#PCDATA)>
68
<!ELEMENT additionalInfo (paragraph+)>
69
<!ELEMENT paragraph (#PCDATA)>
70
<!ELEMENT rights (paragraph+)>
71
<!ELEMENT triple (subject, relationship, object)>
72
<!ELEMENT subject (#PCDATA)>
73
<!ELEMENT relationship (#PCDATA)>
74
<!ELEMENT object (#PCDATA)>
75

  
76
<!-- The software branch -->
77
<!ELEMENT software (identifier+, shortName?, title+,
78
                     originator+, pubdate?, pubplace?, series?, abstract?, 
79
                     keywordSet*, additionalInfo?, rights*, triple*, 
80
                     versionNumber?, sourceModule?, binaryFile?, location?, 
81
                     programmingLanguage?)>
82

  
83
<!ELEMENT versionNumber (#PCDATA)>
84
<!ELEMENT sourceModule (#PCDATA)>
85
<!ELEMENT binaryFile (#PCDATA)>
86
<!ELEMENT location (#PCDATA)>
87
<!ELEMENT programmingLanguage (#PCDATA)>
88
<!-- EOF -->
0 89

  
src/loaddtd.sql
34 34
INSERT INTO xml_catalog (entry_type, public_id, system_id)
35 35
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-2.0.0beta4//EN',
36 36
          'http://dev.nceas.ucsb.edu/jones/dtd/eml-software-2.0.0.beta4e.dtd');
37
INSERT INTO xml_catalog (entry_type, public_id, system_id)
38
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-2.0.0beta5//EN',
39
          'http://dev.nceas.ucsb.edu/jones/dtd/eml-software-2.0.0.beta5e.dtd');
build.xml
47 47
      <property name="server" value="dev.nceas.ucsb.edu:8443"/>
48 48
      <property name="replication-log" value="/tmp/metacatreplication.log"/>
49 49
      <property name="user" value="jones"/>
50
      <property name="password" value="kinkaj0u"/>
50
      <property name="password" value="your-pw-goes-here"/>
51 51
      <property name="config-dir" value="${installdir}" />
52 52
      <property name="default-style" value="knb" />
53 53
      <property name="eml-version" value="2.0beta4" />

Also available in: Unified diff