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

Tomas Remes (JIRA) issues at jboss.org
Tue Oct 11 10:59:01 EDT 2016


    [ https://issues.jboss.org/browse/CDI-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13305657#comment-13305657 ] 

Tomas Remes commented on CDI-449:
---------------------------------

PR sent https://github.com/cdi-spec/cdi/pull/311

> 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 .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