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

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Jun 29 12:08:02 EDT 2015


     [ https://issues.jboss.org/browse/CDI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand updated CDI-449:
-------------------------------------
    Fix Version/s: 2.0 (discussion)


> 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
>             Fix For: 2.0 (discussion)
>
>
> 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
(v6.3.15#6346)


More information about the cdi-dev mailing list