]
Tomas Remes commented on CDI-449:
---------------------------------
PR sent
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.