Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2149

validation.xml doesn't have the version="1.1" in the xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.16.2.Final
    • 2.12.2.Final
    • Java EE
    • None

    Description

      When Bean Validation is setup, here is the generated META-INF/validation.xml file:

      <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"/>
      

      It misses the version attribute and should be :

      <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"/>
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: