Project

General

Profile

« Previous | Next » 

Revision 2394

Added by sgarg about 19 years ago

Added sql command to delete also schema entries also. Earlier the script only deleted old dtd entries

View differences:

src/loaddtdschema.sql
1 1
DELETE FROM xml_catalog 
2 2
      WHERE entry_type LIKE 'DTD'
3 3
        AND public_id LIKE '%@eml-version@%';
4
DELETE FROM xml_catalog 
5
      WHERE entry_type LIKE 'Schema'
6
        AND system_id LIKE '%eml%';
4 7
INSERT INTO xml_catalog (entry_type, public_id, system_id)
5 8
  VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-version@//EN',
6 9
         '@systemidserver@@html-path@/dtd/eml-access-@eml-version@.dtd');

Also available in: Unified diff