In xsi:schemaLocation you reference http://java.sun.com/xml/ns/javaee/beans_1_0.xsd which does not allow any element as child of <beans>. Please use http://docs.jboss.org/cdi/beans_1_0.xsd that allows it by

<xs:any namespace="##other" processContents="lax"/>

The reference http://docs.jboss.org/weld/reference/latest/en-US/html/configure.html also suggests http://docs.jboss.org/cdi/beans_1_0.xsd.

CDI tool parses content based on xmlns="http://java.sun.com/xml/ns/javaee", ignoring suggested schema location, that is why Tree tab looks ok, but Eclipse XML validation checks xml against the provided schema and detects the error.

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