[
http://jira.codehaus.org/browse/JIBX-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski resolved JIBX-147.
----------------------------------
Resolution: Fixed
Fix Version/s: JiBX 1.1.5
The validation code wasn't properly assigning namespaces to mappings, partially
because of an order issue where the namespaces weren't set until the validation
pass - which occurs after the registration pass where the names are checked.
> Regression in compiling bindings for same element name in different namespace
> -----------------------------------------------------------------------------
>
> Key: JIBX-147
> URL: http://jira.codehaus.org/browse/JIBX-147
> Project: JiBX
> Issue Type: Bug
> Components: Generator Tools
> Affects Versions: JiBX 1.1, JiBX 1.1.2
> Environment: Ubuntu 6.06, Java(TM) 2 Runtime Environment, Standard
> Edition (build 1.4.2_05-b04)
> I don't think it's an environment issue.
> Reporter: James Abley
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.1.5
>
> Attachments: namespace-binding-issue-patch-20061202-2250.txt,
> namespace-binding.zip
>
>
> There seems to be a bug introduced at some point between 1.0 RC1 and 1.1 /
> CVS HEAD.
> The attached contains a patch made against CVS HEAD as of 2006-12-02 22:00
> GMT which contains changes which demonstrate this issue
> (namespace-binding-issue-patch-20061202-2250.txt). This patch contains a new
> binding.xml, associated bean classes and adds the binding.xml into the
> project build. This 'test' only demonstrates the issue with the binding, but
> I have similar production code bindings which work with 1.0 RC1 both from a
> binding perspective and being able to marshal the XML correctly as well.
> I have also tried putting these changes into a separate project / build and
> building that against JiBX 1.0 RC1 and 1.1 and HEAD. The latter all fail
> again. (namespace-binding.zip). This was done to confirm that the simplified
> form of the test derived from my production bindings was a correct
> demonstration of the issue.
> I will be trying to create a patch that fixes this as well, but my lack of
> familiarity with the codebase will probably make that slow work for now.
--
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs