<div dir="ltr"><div>Hi All,<br></div><div><br>One area I&#39;d like to see a clarification 
on in the spec is around the location of the validation.xml in a JavaEE 
web container environment.  The Bean Validation spec indicates the 
validation.xml is always at META-INF/validation.xml.  The JavaEE 
Platform spec states WEB-INF/validation.xml should be used for web 
modules. The entire Bean Validation spec has no mention of web modules, 
and seems to mainly focus on JavaSE.  However, it does mention 
integration points such as CDI and JAX-RS, so I don&#39;t think it would be 
out of line to clarify in the Bean Validation spec for web modules.  
Otherwise, the JavaEE Platform spec could be changed to no longer state 
WEB-INF/validation.xml, but previous JavaEE versions already include 
this, and the TCK uses the WEB-INF/validation.xml location. Therefore, 
I&#39;d expect a lot of users in the field to be using the WEB-INF location.<br><br>The Bean Validation spec has the following section (page 206):<br>Unless explicitly ignored by calling Configuration.<wbr>ignoreXMLConfiguration(), a Configuration takes into<br>account the configuration available in META-INF/validation.xml. This configuration file is optional but<br>can be used by applications to refine some of the Bean Validation behavior. If more than one META-<br>INF/validation.xml file is found in the classpath, a ValidationException is raised.<br><br>In contrasts the JavaEE Platform spec has (page 127 of JavaEE 7):<br>In order to customize the returned ValidatorFactory, an EJB, web or<br>application client module may specify a Bean Validation XML deployment<br>descriptor. The name of the descriptor is WEB-INF/validation.xml for web<br>modules and META-INF/validation.xml for all other types of modules.<div class="gmail-yj6qo gmail-ajU"><div tabindex="0" class="gmail-ajR" id="gmail-:qh"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" class="gmail-ajT"></div></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888"><br><br><br></font></span></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888">--Nathan</font></span></div>