kinman 2004/05/11 18:14:59 Modified: jasper2/src/share/org/apache/jasper/compiler PageDataImpl.java Validator.java Log: - Fix 28696: xsi:schemaLocation should be a valid attribute for jsp:root. Revision Changes Path 1.38 +1 -0 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageDataImpl.java Index: PageDataImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageDataImpl.java,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- PageDataImpl.java 17 Mar 2004 19:23:03 -0000 1.37 +++ PageDataImpl.java 12 May 2004 01:14:59 -0000 1.38 @@ -160,6 +160,7 @@ public void visit(Node.JspRoot n) throws JasperException { addAttributes(n.getTaglibAttributes()); + addAttributes(n.getNonTaglibXmlnsAttributes()); addAttributes(n.getAttributes()); visitBody(n); 1.117 +1 -0 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java Index: Validator.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java,v retrieving revision 1.116 retrieving revision 1.117 diff -u -r1.116 -r1.117 --- Validator.java 17 Mar 2004 19:23:03 -0000 1.116 +++ Validator.java 12 May 2004 01:14:59 -0000 1.117 @@ -300,6 +300,7 @@ private ClassLoader loader; private static final JspUtil.ValidAttribute[] jspRootAttrs = { + new JspUtil.ValidAttribute("xsi:schemaLocation"), new JspUtil.ValidAttribute("version", true) }; private static final JspUtil.ValidAttribute[] includeDirectiveAttrs = {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]