Looks like you have two '>' chars at the end of the <blueprint> element.

John

>
> Re: Aries eclipselink.adapter
>
> Hi,
>
> I managed this by changing the version range of aries.util in the pom.
>
> But now I have another problem. After packaging I tried to run an
> example in the osgi-container. I get a ComponentDefinitionException
> saying Unable to validate xml: Caused by SAXParseException saying:
> cvc-complex-type.2.3: Element 'blueprint' cannot have character
> [children], because the type's content is element-only.
>
> My blueprint looks like following:
>
> <?xml version="1.0" encoding="utf-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
>          xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0";
>          xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0";>
>  >
>      <bean
>          id="testDAOBean"
>          class="ch.persistence.TestDAOImpl"
>      >
>          <tx:transaction method="*" value="Required"/>
>          <jpa:context property="em" unitname="herakles"/>
>      </bean>
> </blueprint>
>
> as I see, there are no character children. But what am I doing wrong?
>
> Thank you for help!
>
>
>

Reply via email to