Hi All,
I am new to JiBX library and currently, i am having problem on generating
code from schema.
Here are my schema scenario looks like:

main.xsd include a.xsd (1st) and b.xsd (2nd).
b.xsd uses types from a.xsd as well.

So, i run the command "java -cp jibx-tools.jar
org.jibx.schema.codegen.CodeGen -t gen/src -w main.xsd"

I got the result saying that referenced type XXXX is not defined for element
at ........in file b.xsd
>From the documentation, it says that if i include the main, JibX will be
able include other related xsd automatically.
In this case, why a type which defined in a.xml does not get seen in b.xsd
since I include the main.xsd rather than b.xsd?

Any help will be appreciated.

Thanks

Cheers,

-Tony
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to