Author: markt
Date: Fri Nov 22 11:26:51 2013
New Revision: 1544492
URL: http://svn.apache.org/r1544492
Log:
Hook up validate option
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/jasper/JspC.java
Modified: tomcat/tc7.0.x/trunk/java/org/apache/jasper/JspC.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/jasper/JspC.java?rev=1544492&r1=1544491&r2=1544492&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/jasper/JspC.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/jasper/JspC.java Fri Nov 22 11:26:51
2013
@@ -1429,6 +1429,10 @@ public class JspC extends Task implement
} catch (MalformedURLException me) {
System.out.println("**" + me);
}
+ if (isValidateXml()) {
+ context.setAttribute(Constants.XML_VALIDATION_ATTR,
+ Boolean.TRUE);
+ }
rctxt = new JspRuntimeContext(context, this);
jspConfig = new JspConfig(context);
tagPluginManager = new TagPluginManager(context);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]