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

Martin Kouba (JIRA) issues at jboss.org
Fri Oct 21 08:13:00 EDT 2016


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

Martin Kouba reassigned CDI-449:
--------------------------------

    Assignee: Tomas Remes


> 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
>            Assignee: Tomas Remes
>             Fix For: 2.0 .Final
>
>
> 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.4.11#64026)


More information about the cdi-dev mailing list