|
||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||
_______________________________________________ weld-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/weld-issues

The validation cannot be moved to the parser, because it is also possible to completely circumvent the parser by supplying your own Bootstrap impl (see
WELD-560)The problem in your case is that Weld SE merges all the beans.xml files it find on the classpath and returns it as a single BeansXml object.
So if anything, your problem could be fixed by having the parser remove duplicates when merging (but according to the javadoc of Bootstrap.parse() duplicates should not be removed - don't know why, though).