WildFly is using and extending internal beans.xml parser in order to support attributes interpolation and customized validation error handler. Weld SPI needs to be extended to support this functionality.