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.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
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