When processing TLDs, Tomcat doesn't properly handle relative references for external entities. For example, if I have a TLD in /WEB-INF/tlds/foo.tld, then the following
<!ENTITY % BAR SYSTEM "bar.dtd">
ought to resolve to /WEB-INF/tlds/bar.dtd; but it doesn't, it resolves relative to the current directory of the java process. Looking at the source code, the processing of the TLDs is different than e.g. web.xml, where a proper InputSource object, complete with a base URI, is used to parse the file. Is there a reason for this difference in behavior, perhaps related to the processing of TLDs in jar files?
Jay
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
