The chameleon namespace issues should be fixed in the latest 1.2.2 code. 
I'm really, seriously, working to get this released soon, but in the 
meantime I've uploaded the latest build to 
http://jibx.sourceforge.net/jibx_1_2_2-SNAPSHOT.zip Can you give that a 
try and see if it works?

Thanks,

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



c...@ctg.co.nz wrote:
> I am trying to generate code from a fairly complex schema, and I'm having
> difficulties because (I think) of its use of chameleon namespaces. It
> seems to be unable to locate the types defined in the chameleon schemas.
>
> The structure of the schema files is:
>
> dirA/
>   a1.xsd
>   b3.xsd
> dirB/
>   b1.xsd
>   b2.xsd
>   c1.xsd
>   c2.xsd
>
> a1 is the main schema I am trying to generate, in namespace A. It includes
> b1, b2 and b3, which are in a different namespace B. b1 includes c1 and
> c2, which are chameleons (no namespace). The other curly bit is that b3
> includes b2, although b2 references types that are declared in b3 (yes,
> really).
>
> The errors indicate that types in c1, c2 and b3 are not being picked up.
>
> I have tried using customization to force c1 and c2 to be in the correct
> namespace, but that doesn't seem to work. Shouldn't it just process the
> types from the chameleons as if they belong to the target namespace of the
> schema that includes them?
>
> Is there anything else I can do? I'm can't change the schema, so I need to
> find a way to convince CodeGen to process it properly.
>
>
>   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to