Summary: | Error processing TLD file in webapp with XML parser | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Eddy Chan <ecapachedev> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ecapachedev, mauromol |
Priority: | P3 | ||
Version: | 5.5.27 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | Test webapp that demonstrates error |
Description
Eddy Chan
2008-10-01 23:51:18 UTC
Created attachment 22666 [details]
Test webapp that demonstrates error
I am unable to reproduce this. Looking at your stack trace the security exception is caused when trying to read jsp-api.jar. This jar should never be scanned as it is on the exclude list so I don't understand how you can be seeing this error. Reviewing the code does show that there is an issue. Additionally, the XML validation settings of the first context precessed are used for all contexts. I can fix these issues based purely on code review but it would be nice to be able to confirm the fix with a test case. Ignore my previous. I now have a test case. Thanks for the report. This has been fixed in trunk and proposed for 6.0.x and 5.5.x. This has been fixed 6.0.x and will be included in 6.0.19 onwards. *** Bug 46549 has been marked as a duplicate of this bug. *** The patch has been applied to 5.5.x and will be included in 5.5.28 onwards. |