[forge-issues] [JBoss JIRA] (FORGE-2149) validation.xml doesn't have the version="1.1" in the xml
Antonio Goncalves (JIRA)
issues at jboss.org
Sun Nov 16 07:08:39 EST 2014
Antonio Goncalves created FORGE-2149:
----------------------------------------
Summary: 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
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/configuration validation-configuration-1.1.xsd"/>
{code}
It misses the {{version}} attribute and should be :
{code}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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/configuration validation-configuration-1.1.xsd" version="1.1"/>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the forge-issues
mailing list