[cdi-dev] [JBoss JIRA] (CDI-449) beans.xml examples are not valid

Martin Kouba (JIRA) issues at jboss.org
Wed Jul 30 07:08:29 EDT 2014

Martin Kouba created CDI-449:

             Summary: beans.xml examples are not valid
                 Key: CDI-449
                 URL: https://issues.jboss.org/browse/CDI-449
             Project: CDI Specification Issues
          Issue Type: Bug
    Affects Versions: 1.2.Final
            Reporter: Martin Kouba

The {{beans.xml}} examples in "5.1.1. Declaring selected alternatives", "8.2.2. Decorator enablement and ordering for a bean archive" and "9.4. Interceptor enablement and ordering" (which contain a reference to beans_1_1.xsd) are not valid - {{bean-discovery-mode}} attribute is required. I think it would be appropriate to specify the version attribute as well.

The last {{beans.xml}} example in "12.4.2. Exclude filters" does not even define the reference to an XSD. Again, I believe the version and bean-discovery-mode attributes should be specified.

This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list