Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5249

wildfly-hibernate3 quickstart fails to validate in eclipse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR1
    • None
    • None
    • None

      wildfly-hibernate3 quickstart has xml file with following content:

      <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
         version="2.0">
      

      This fails because it is importing the persistence_2_1.xsd file, but is setting version=2.0. It must set version=2.1

              jgreene@redhat.com Jason Greene
              rob.stryker Rob Stryker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: