[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:12:39 EST 2014


     [ https://issues.jboss.org/browse/FORGE-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Goncalves updated FORGE-2149:
-------------------------------------
    Description: 
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}

  was:
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}



> 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
>             Fix For: 2.x Future
>
>
> 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.8#6338)


More information about the forge-issues mailing list