You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Benoit Segaert <be...@uniway.be> on 2002/02/20 10:38:56 UTC
How can I register a DTD in a war
I want to validate a XML with a DTD in a War application.
I have my DTD available in the war file.
I use a XML file like the following:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE Application SYSTEM
"file:///C:/java/jakarta-tomcat-4.0.1/webapps/myapplication/WEB-INF/LdapFramework.dtd">
<Application>
...
But I want to register my DTD in Tomcat for the using of the following
XML header
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE Application PUBLIC
"-//Uniway Belgium//DTD Application Configuration 1.0//EN"
"http://www.uniway.be/application/dtds/application_1_0.dtd">
<Application>
...
How can I explain to Tomcat the mapping between this header and the real
place of the DTD in the War of Jar?
I don't know if it is the good mailing list but I can see that Tomcat
provides
this feature.
Benoit
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>