[ 
http://jira.codehaus.org/browse/JIBX-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102754
 ] 

Dennis Sosnoski commented on JIBX-176:
--------------------------------------

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.

> verbose flag to jibx compile causes stack overflow
> --------------------------------------------------
>
>                 Key: JIBX-176
>                 URL: http://jira.codehaus.org/browse/JIBX-176
>             Project: JiBX
>          Issue Type: Bug
>    Affects Versions: JiBX 1.1.5
>         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)
>            Reporter: Linus Kamb
>            Priority: Minor
>         Attachments: attachments.tgz
>
>
> The bindings compile ok without the -v flag. 
> Could possibly be due to recursive structure in schema?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to