[ 
https://issues.apache.org/jira/browse/CAMEL-10000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307602#comment-15307602
 ] 

John D. Ament commented on CAMEL-10000:
---------------------------------------

Yeah, the problem is that Weld 1.1 has a {{<scan/>}} element as well, which is 
what became the CDI 1.1 {{<scan/>}}.  So its not that Weld 1.1 is ignoring the 
XML, its that it was already built to support it.

{code}
 Cannot unmarshall the beans.xml:
unexpected element (uri:"http://java.sun.com/xml/ns/javaee";, local:"scan").
Expected elements are
<{http://java.sun.com/xml/ns/javaee}decorators>,<{http://java.sun.com/xml/ns/javaee}interceptors>,<{http://java.sun.com/xml/ns/javaee}alternatives>
        at
org.apache.openejb.config.ReadDescriptors.readBeans(ReadDescriptors.java:652)
{code}

After reading the error again, i realize its coming from OpenEJB not OWB.  

> Camel CDI incorrectly reports beans.xml version of 1.0
> ------------------------------------------------------
>
>                 Key: CAMEL-10000
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10000
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.17.1
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>             Fix For: 2.17.2
>
>
> Camel CDI's beans.xml incorrectly reports version = 1.0 but should be 1.1 due 
> to compatibility requirements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to