Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-129

Seam 2.3 and JBDS Error in validation of jboss-deployment-structure.xml

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.0.GA, 2.4.0.GA, 2.5.0.GA
    • Fix Version/s: 2.6.0.ER1
    • Component/s: Seam 2
    • Labels:
    • Environment:

      Version: 7.0.0.GA
      Build id: GA-v20130720-0044-B364
      Build date: 20130720-0044

      WFK 2.3.0.GA, Seam 2.3.1.Final-redhat-2

    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Create Seam Web project type EAR (keep default values)
      2. Set or select Seam 2.3.1.Final-redhat-2 runtime from WFK 2.3.0.GA
      3. Notice validation error cvc-complex-type.2.4.a ...

      Show
      1. Create Seam Web project type EAR (keep default values) 2. Set or select Seam 2.3.1.Final-redhat-2 runtime from WFK 2.3.0.GA 3. Notice validation error cvc-complex-type.2.4.a ...
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Release Notes Text:
      Hide
      There was an error in the Red Hat JBoss Application Server XML schema file. As a consequence, Red Hat JBoss Developer Studio displayed the following project error in imported Seam examples even though the jboss-deployment-structure.xml file was valid:

      “cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected. jboss-deployment-structure.xml"

      This was caused by a validation message error and has been fixed in Red Hat JBoss Developer Studio's jboss-deployment-structure-1_x.xsd file, resulting in Seam examples displaying as expected.
      Show
      There was an error in the Red Hat JBoss Application Server XML schema file. As a consequence, Red Hat JBoss Developer Studio displayed the following project error in imported Seam examples even though the jboss-deployment-structure.xml file was valid: “cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected. jboss-deployment-structure.xml" This was caused by a validation message error and has been fixed in Red Hat JBoss Developer Studio's jboss-deployment-structure-1_x.xsd file, resulting in Seam examples displaying as expected.

      Description

      This is tracking issue for https://issues.jboss.org/browse/JBIDE-14629 and https://issues.jboss.org/browse/JBIDE-15311 and

      Valid jboss-deployment-structure.xml causes validation error:

      cvc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected.	jboss-deployment-structure.xml
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  manaRH Marek Novotny
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: