Axis2 1.5.1
I tried xmlbeans 2.4.0 and same problem.  

Why would the ant build work, but not maven on the same code base?

-----Original Message-----
From: robert lazarski [mailto:[email protected]] 
Sent: Tuesday, May 18, 2010 12:42 PM
To: [email protected]
Subject: Re: Weird problem

On Tue, May 18, 2010 at 2:36 PM, Phee, Marty <[email protected]> wrote:
> When I use the plugin it generates this for struct8d8bdoctype.xsb
>
> SchemaTypeSystemImpl:690
>
> value: org.apache.xmlbeans.SchemaGlobalElement$Ref =
> {org.apache.xmlbeans.schemaglobalelement$...@2173}
>
> _handle = struct8d8bdoctype
>
>
>
> So when it try's to call addDocument and cast it as a SchemaType.Ref
it
> fails.

http://grepcode.com/file/[email protected]$xmlb
[email protected]@org$apache$xmlbeans$impl$schema$SchemaTypeImpl.java

Not sure what axis2 and xmlbeans version you are using, but the source
does indicate later versions fixed a ClassCastException issue, maybe
that's the issue you are hitting.

- R

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to