[jira] Created: (JIBX-210) JiBX exception with special chars in binding file name

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (JIBX-210) JiBX exception with special chars in binding file name

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JiBX exception with special chars in binding file name
------------------------------------------------------

                 Key: JIBX-210
                 URL: http://jira.codehaus.org/browse/JIBX-210
             Project: JiBX
          Issue Type: Bug
          Components: core
            Reporter: Jan Lisse
             Fix For: JiBX 1.1.6


I have multiple binding files for a single class. When selecting the proper binding file with the BindingDirectory.getFactory(Class targetClass, String bindingName) i get the following exception:

org.jibx.runtime.JiBXException: Binding information for class xyz.MyTargetClass must be regenerated with current binding compiler  at org.jibx.runtime.BindingDirectory.getFactoryFromName(BindingDirectory.java:134)  at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211)

I had a debugging session on this, for more details see my blog:  http://twelve-programmers.blogspot.com/2008/03/jibx-exception-with-special-chars-in.html

I found out that  a "-" character in my binding file name was the root cause for the problem. Jibx should check binding names for illegal characters, that are not allowed as Java class names.
This check should happen while running the binding compiler.

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

       

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
jibx-devs mailing list
jibx-devs@...
https://lists.sourceforge.net/lists/listinfo/jibx-devs

[jira] Resolved: (JIBX-210) JiBX exception with special chars in binding file name

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JIBX-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski resolved JIBX-210.
----------------------------------

      Assignee: Dennis Sosnoski
    Resolution: Fixed

Fixed for 1.1.6. Thanks for pointing this out!

> JiBX exception with special chars in binding file name
> ------------------------------------------------------
>
>                 Key: JIBX-210
>                 URL: http://jira.codehaus.org/browse/JIBX-210
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>            Reporter: Jan Lisse
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.1.6
>
>
> I have multiple binding files for a single class. When selecting the proper binding file with the BindingDirectory.getFactory(Class targetClass, String bindingName) i get the following exception:
> org.jibx.runtime.JiBXException: Binding information for class xyz.MyTargetClass must be regenerated with current binding compiler  at org.jibx.runtime.BindingDirectory.getFactoryFromName(BindingDirectory.java:134)  at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211)
> I had a debugging session on this, for more details see my blog:  http://twelve-programmers.blogspot.com/2008/03/jibx-exception-with-special-chars-in.html
> I found out that  a "-" character in my binding file name was the root cause for the problem. Jibx should check binding names for illegal characters, that are not allowed as Java class names.
> This check should happen while running the binding compiler.

--
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 the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
jibx-devs mailing list
jibx-devs@...
https://lists.sourceforge.net/lists/listinfo/jibx-devs

[jira] Closed: (JIBX-210) JiBX exception with special chars in binding file name

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JIBX-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski closed JIBX-210.
--------------------------------


> JiBX exception with special chars in binding file name
> ------------------------------------------------------
>
>                 Key: JIBX-210
>                 URL: http://jira.codehaus.org/browse/JIBX-210
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>            Reporter: Jan Lisse
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.1.6
>
>
> I have multiple binding files for a single class. When selecting the proper binding file with the BindingDirectory.getFactory(Class targetClass, String bindingName) i get the following exception:
> org.jibx.runtime.JiBXException: Binding information for class xyz.MyTargetClass must be regenerated with current binding compiler  at org.jibx.runtime.BindingDirectory.getFactoryFromName(BindingDirectory.java:134)  at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211)
> I had a debugging session on this, for more details see my blog:  http://twelve-programmers.blogspot.com/2008/03/jibx-exception-with-special-chars-in.html
> I found out that  a "-" character in my binding file name was the root cause for the problem. Jibx should check binding names for illegal characters, that are not allowed as Java class names.
> This check should happen while running the binding compiler.

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

       

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-devs mailing list
jibx-devs@...
https://lists.sourceforge.net/lists/listinfo/jibx-devs