[
https://issues.jboss.org/browse/FORGE-2149?page=com.atlassian.jira.plugin...
]
George Gastaldi commented on FORGE-2149:
----------------------------------------
You are right. Just fixed this. Thanks!
validation.xml doesn't have the version="1.1" in the
xml
---------------------------------------------------------
Key: FORGE-2149
URL:
https://issues.jboss.org/browse/FORGE-2149
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.12.2.Final
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Fix For: 2.16.2.Final
When Bean Validation is setup, here is the generated {{META-INF/validation.xml}} file:
{code}
<validation-config
xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configu...
validation-configuration-1.1.xsd"/>
{code}
It misses the {{version}} attribute and should be :
{code}
<validation-config
xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configu...
validation-configuration-1.1.xsd" version="1.1"/>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)