[forge-issues] [JBoss JIRA] (FORGE-2149) validation.xml doesn't have the version="1.1" in the xml
George Gastaldi (JIRA)
issues at jboss.org
Sat Jun 13 12:10:03 EDT 2015
[ https://issues.jboss.org/browse/FORGE-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078579#comment-13078579 ]
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/configuration 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/configuration validation-configuration-1.1.xsd" version="1.1"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the forge-issues
mailing list