Revision 7194
Added by ben leinfelder over 12 years ago
loaddtdschema-oracle.sql | ||
---|---|---|
2 | 2 |
WHERE entry_type LIKE 'DTD' |
3 | 3 |
AND public_id LIKE '%@eml-version@%'; |
4 | 4 |
DELETE FROM xml_catalog |
5 |
WHERE entry_type LIKE 'DTD' |
|
6 |
AND public_id LIKE '%@eml-beta4-version@%'; |
|
7 |
DELETE FROM xml_catalog |
|
5 | 8 |
WHERE entry_type LIKE 'Schema' |
6 | 9 |
AND system_id LIKE '%eml%'; |
7 | 10 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
... | ... | |
37 | 40 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
38 | 41 |
VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-version@//EN', |
39 | 42 |
'/dtd/eml-software-@eml-version@.dtd'); |
43 |
-- include 2.0.0beta4 |
|
40 | 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) |
|
41 | 79 |
VALUES ('Schema', '@eml2_0_1namespace@', '/schema/eml-2.0.1/eml.xsd'); |
42 | 80 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
43 | 81 |
VALUES ('Schema', '@eml2_0_0namespace@', '/schema/eml-2.0.0/eml.xsd'); |
Also available in: Unified diff
include eml2.0.0beta4 DTD during Metacat build so that we can continue to accept (and validate) beta4 documents.
This arose when testing Metacat as DataONE Coordinating Node where legacy documents are being housed in the CN.