Summary: | validation with xerces 2.7.1 | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Florent BENOIT <florent.benoit> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.5.9 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://pastebin.com/333771 | ||
Attachments: |
Example reproducing the problem
Patch for fixing this issue |
Description
Florent BENOIT
2005-08-10 17:28:54 UTC
Created attachment 15995 [details]
Example reproducing the problem
Class reproducing the jasper problem with xerces 2.7.1
java -Djava.endorsed.dirs=<path with xerces2.7.1 jars inside> sax.Sax
Created attachment 15996 [details]
Patch for fixing this issue
Patch for fixing this issue (with xerces 2.7.1), also it works with other
xerces version and JDK
Wouldn't it be better to set both ? It works for me only with one thing. Also, only xml with DTD have to be validated in this case of JSP (no schema). (Section JSP 6.2.4) So I think the use of only factory.setValidating(validating); will be OK. Regards, Florent It's actually section 6.2.4. I think the change is reasonable, but I'll leave the old code in commented out. |