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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs