Affects Version/s: JiBX 1.2.2
Fix Version/s: None
Number of attachments :
I'm having a problem using codegen with based binding (which I need for the schema-library).
Since I'm calling codegen from java, I can't change the classpath or my current directory and I can only specify relative paths.
I have to use -t (target dir) which specifies the source and binding file location. -i requires a path from my working location, but the generated binding file ends up specifying the this link to the base binding file as relative to the compile root.
Just unzip this file, change line 1 to point to your core/lib and run it... it fails on the third codegen.
Take a look at the <include path="..."> in person-binding.xml
My test schema looks like this
person.xsd <- address.xsd <- company.xsd