Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12779

Seam components.xml XML validation doesn't take into account maven-war-plugin properties filtering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • LATER
    • 4.0.0.Alpha2
    • maven, upstream
    • None
    • Hide

      1. Import Seam2.3 jee6 example as an existing Maven Project
      2. Notice the errors:

      Description	Resource	Path	Location	Type
      cvc-attribute.3: The value '${distributable}' of attribute 'distributable' on element 'core:init' is not valid with respect to its type, 'boolean'.	components.xml	/jee6-web/src/main/webapp/WEB-INF	line 13	XML Problem
      cvc-datatype-valid.1.2.3: '${distributable}' is not a valid value of union type 'boolean'.	components.xml	/jee6-web/src/main/webapp/WEB-INF	line 13	XML Problem
      
      Show
      1. Import Seam2.3 jee6 example as an existing Maven Project 2. Notice the errors: Description Resource Path Location Type cvc-attribute.3: The value '${distributable}' of attribute 'distributable' on element 'core:init' is not valid with respect to its type, 'boolean'. components.xml /jee6-web/src/main/webapp/WEB-INF line 13 XML Problem cvc-datatype-valid.1.2.3: '${distributable}' is not a valid value of union type 'boolean'. components.xml /jee6-web/src/main/webapp/WEB-INF line 13 XML Problem

    Description

      Seam 2.3 Mavenized examples use maven-war-plugin to replace patterns, such as

      <core:init jndi-pattern="${jndiPattern}" debug="true" distributable="${distributable}"/>
      

      JBDS doesn't seem to understand that the XML is only a template and will report a "XML Problem":

      '${distributable}' is not a valid value of union type 'boolean'

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: