Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JiBX 1.1.5
-
Fix Version/s: JiBX 1.1.6
-
Component/s: None
-
Labels:None
-
Environment:Mac OSX 10.4.10, ant 1.7.0, apple java: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
-
Number of attachments :
Description
The bindings compile ok without the -v flag.
Could possibly be due to recursive structure in schema?
I slipped up and shipped 1.1.5 with some debug code included which can result in loops when using recursive <mapping>s. I'll correct this in the upcoming 1.1.6. If you want to fix this in your own copy, edit build/src/org/jibx/binding/def/BindingDefinition.java and comment out the following lines near the start of the generateCode method (right below the comment "// disabled because of potential recursion issues" -
):
if (verbose)
{ System.out.println("After linking view of binding " + m_name + ':'); print(); }then rebuild by typing "ant" at a console in the build directory.