Revision 979
Added by Jing Tao over 22 years ago
src/loaddtd.sql | ||
---|---|---|
3 | 3 |
AND public_id LIKE '%@eml-version@%'; |
4 | 4 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
5 | 5 |
VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-version@//EN', |
6 |
'http://@server@@html-path@/dtd/eml-access-@eml-version@.dtd');
|
|
6 |
'@systemidserver@@html-path@/dtd/eml-access-@eml-version@.dtd');
|
|
7 | 7 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
8 | 8 |
VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-version@//EN', |
9 |
'http://@server@@html-path@/dtd/eml-attribute-@eml-version@.dtd');
|
|
9 |
'@systemidserver@@html-path@/dtd/eml-attribute-@eml-version@.dtd');
|
|
10 | 10 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
11 | 11 |
VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-version@//EN', |
12 |
'http://@server@@html-path@/dtd/eml-constraint-@eml-version@.dtd');
|
|
12 |
'@systemidserver@@html-path@/dtd/eml-constraint-@eml-version@.dtd');
|
|
13 | 13 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
14 | 14 |
VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-version@//EN', |
15 |
'http://@server@@html-path@/dtd/eml-coverage-@eml-version@.dtd');
|
|
15 |
'@systemidserver@@html-path@/dtd/eml-coverage-@eml-version@.dtd');
|
|
16 | 16 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
17 | 17 |
VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-version@//EN', |
18 |
'http://@server@@html-path@/dtd/eml-dataset-@eml-version@.dtd');
|
|
18 |
'@systemidserver@@html-path@/dtd/eml-dataset-@eml-version@.dtd');
|
|
19 | 19 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
20 | 20 |
VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-version@//EN', |
21 |
'http://@server@@html-path@/dtd/eml-entity-@eml-version@.dtd');
|
|
21 |
'@systemidserver@@html-path@/dtd/eml-entity-@eml-version@.dtd');
|
|
22 | 22 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
23 | 23 |
VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-version@//EN', |
24 |
'http://@server@@html-path@/dtd/eml-literature-@eml-version@.dtd');
|
|
24 |
'@systemidserver@@html-path@/dtd/eml-literature-@eml-version@.dtd');
|
|
25 | 25 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
26 | 26 |
VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-version@//EN', |
27 |
'http://@server@@html-path@/dtd/eml-physical-@eml-version@.dtd');
|
|
27 |
'@systemidserver@@html-path@/dtd/eml-physical-@eml-version@.dtd');
|
|
28 | 28 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
29 | 29 |
VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-version@//EN', |
30 |
'http://@server@@html-path@/dtd/eml-project-@eml-version@.dtd');
|
|
30 |
'@systemidserver@@html-path@/dtd/eml-project-@eml-version@.dtd');
|
|
31 | 31 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
32 | 32 |
VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-version@//EN', |
33 |
'http://@server@@html-path@/dtd/eml-protocol-@eml-version@.dtd');
|
|
33 |
'@systemidserver@@html-path@/dtd/eml-protocol-@eml-version@.dtd');
|
|
34 | 34 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
35 | 35 |
VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-version@//EN', |
36 |
'http://@server@@html-path@/dtd/eml-software-@eml-version@.dtd'); |
|
36 |
'@systemidserver@@html-path@/dtd/eml-software-@eml-version@.dtd'); |
Also available in: Unified diff
Change every "http://
server
to "systemidserver
". It will look like:INSERT INTO xml_catalog (entry_type, public_id, system_id)
VALUES ('DTD', '-//ecoinformatics.org//eml-software-
eml-version
//EN','
systemidserver
@html-path@/dtd/eml-software-eml-version
.dtd')