Project

General

Profile

1
DELETE FROM xml_catalog 
2
      WHERE entry_type LIKE 'DTD'
3
        AND public_id LIKE '%@eml-version@%';
4
DELETE FROM xml_catalog 
5
      WHERE entry_type LIKE 'DTD'
6
        AND public_id LIKE '%@eml-beta4-version@%';
7
DELETE FROM xml_catalog 
8
      WHERE entry_type LIKE 'Schema'
9
        AND system_id LIKE '%eml%';
10
INSERT INTO xml_catalog (entry_type, public_id, system_id)
11
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-version@//EN',
12
         '/dtd/eml-access-@eml-version@.dtd');
13
INSERT INTO xml_catalog (entry_type, public_id, system_id)
14
  VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-version@//EN',
15
          '/dtd/eml-attribute-@eml-version@.dtd');
16
INSERT INTO xml_catalog (entry_type, public_id, system_id)
17
  VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-version@//EN',
18
          '/dtd/eml-constraint-@eml-version@.dtd');
19
INSERT INTO xml_catalog (entry_type, public_id, system_id)
20
  VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-version@//EN',
21
          '/dtd/eml-coverage-@eml-version@.dtd');
22
INSERT INTO xml_catalog (entry_type, public_id, system_id)
23
  VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-version@//EN',
24
          '/dtd/eml-dataset-@eml-version@.dtd');
25
INSERT INTO xml_catalog (entry_type, public_id, system_id)
26
  VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-version@//EN',
27
          '/dtd/eml-entity-@eml-version@.dtd');
28
INSERT INTO xml_catalog (entry_type, public_id, system_id)
29
  VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-version@//EN',
30
          '/dtd/eml-literature-@eml-version@.dtd');
31
INSERT INTO xml_catalog (entry_type, public_id, system_id)
32
  VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-version@//EN',
33
          '/dtd/eml-physical-@eml-version@.dtd');
34
INSERT INTO xml_catalog (entry_type, public_id, system_id)
35
  VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-version@//EN',
36
          '/dtd/eml-project-@eml-version@.dtd');
37
INSERT INTO xml_catalog (entry_type, public_id, system_id)
38
  VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-version@//EN',
39
          '/dtd/eml-protocol-@eml-version@.dtd');
40
INSERT INTO xml_catalog (entry_type, public_id, system_id)
41
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-version@//EN',
42
          '/dtd/eml-software-@eml-version@.dtd');
43
-- include 2.0.0beta4
44
INSERT INTO xml_catalog (entry_type, public_id, system_id)
45
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-beta4-version@//EN',
46
         '/dtd/eml-access-@eml-beta4-version@.dtd');
47
INSERT INTO xml_catalog (entry_type, public_id, system_id)
48
  VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-beta4-version@//EN',
49
          '/dtd/eml-attribute-@eml-beta4-version@.dtd');
50
INSERT INTO xml_catalog (entry_type, public_id, system_id)
51
  VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-beta4-version@//EN',
52
          '/dtd/eml-constraint-@eml-beta4-version@.dtd');
53
INSERT INTO xml_catalog (entry_type, public_id, system_id)
54
  VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-beta4-version@//EN',
55
          '/dtd/eml-coverage-@eml-beta4-version@.dtd');
56
INSERT INTO xml_catalog (entry_type, public_id, system_id)
57
  VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-beta4-version@//EN',
58
          '/dtd/eml-dataset-@eml-beta4-version@.dtd');
59
INSERT INTO xml_catalog (entry_type, public_id, system_id)
60
  VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-beta4-version@//EN',
61
          '/dtd/eml-entity-@eml-beta4-version@.dtd');
62
INSERT INTO xml_catalog (entry_type, public_id, system_id)
63
  VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-beta4-version@//EN',
64
          '/dtd/eml-literature-@eml-beta4-version@.dtd');
65
INSERT INTO xml_catalog (entry_type, public_id, system_id)
66
  VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-beta4-version@//EN',
67
          '/dtd/eml-physical-@eml-beta4-version@.dtd');
68
INSERT INTO xml_catalog (entry_type, public_id, system_id)
69
  VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-beta4-version@//EN',
70
          '/dtd/eml-project-@eml-beta4-version@.dtd');
71
INSERT INTO xml_catalog (entry_type, public_id, system_id)
72
  VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-beta4-version@//EN',
73
          '/dtd/eml-protocol-@eml-beta4-version@.dtd');
74
INSERT INTO xml_catalog (entry_type, public_id, system_id)
75
  VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-beta4-version@//EN',
76
          '/dtd/eml-software-@eml-beta4-version@.dtd');
77
--include schema
78
INSERT INTO xml_catalog (entry_type, public_id, system_id)
79
  VALUES ('Schema', '@eml2_0_1namespace@', '/schema/eml-2.0.1/eml.xsd');
80
INSERT INTO xml_catalog (entry_type, public_id, system_id)
81
  VALUES ('Schema', '@eml2_0_0namespace@', '/schema/eml-2.0.0/eml.xsd');
82
INSERT INTO xml_catalog (entry_type, public_id, system_id)
83
  VALUES ('Schema', '@stmmlnamespace@', '/schema/eml-2.0.1/stmml.xsd');
84
INSERT INTO xml_catalog (entry_type, public_id, system_id)
85
  VALUES ('Schema', '@stmml11namespace@', '/schema/eml-2.1.0/stmml.xsd');
86
INSERT INTO xml_catalog (entry_type, public_id, system_id)
87
  VALUES ('Schema', 'metadata', '/schema/fgdc-std-001/fgdc-std-001-1998.xsd');
88
INSERT INTO xml_catalog (entry_type, public_id, system_id)
89
  VALUES ('Schema', '@eml2_1_0namespace@', '/schema/eml-2.1.0/eml.xsd');
90
INSERT INTO xml_catalog (entry_type, public_id, system_id)
91
  VALUES ('Schema', '@eml2_1_1namespace@', '/schema/eml-2.1.1/eml.xsd');
92
INSERT INTO xml_catalog (entry_type, public_id, system_id)
93
  VALUES ('Schema', '/schema/RegistryService/RegistryEntryType.xsd', '/schema/RegistryService/RegistryEntryType.xsd'); 
94
INSERT INTO db_version (version, status, date_created) 
95
  VALUES ('2.3.0',1,CURRENT_DATE);
(14-14/85)