The following procedure describes how to edit the catalog file to indicate to Content Delivery which DTDs, schemas and entities to validate against during upload.
About this task
Note: When Content Delivery is installed in a third-party web application server, ContentDelivery_home refers to ContentDelivery_InstallDir\WEB-INF (ContentDelivery_InstallDir/WEB-INF on Linux). When Content Delivery is installed with its bundled web application server, ContentDelivery_home refers to your installation directory, ContentDelivery_InstallDir.
Procedure
- On the Content Delivery server, edit ContentDelivery_home/catalog.xml.
- Add the public identifier, system identifier, or the schema URI to the file.
For example, to add the learningContent identifier from the DITA learning and training specialization, add the following line to the file:
<public
publicId="-//OASIS//DTD DITA Learning Content//EN"
uri="../../demo/dita12/dtd12/learning/dtd/learningContent.dtd"/>
Content Delivery creates a dtd directory in the ContentDelivery_home directory, where you could put your DTDs, schemas and entities. If you do so, the URI in the previous example would be uri="dtd/learningContent.dtd"
- Restart the application or service.
- If you are using a third-party web application server, restart the application server's service. For example, if you are using Apache Tomcat, restart the Apache Tomcat service
- If you are using the bundled web application server, restart the Content Delivery database.