Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Environment:Windows 2000, JDK 1.4.2_06, Ant 1.6.5
-
Number of attachments :
Description
A nested collection binding which works if namespaces are removed, fails during unmarshalling when namespaces are present in the source XML file and also in the binding.
The attached zip has the Java files, JiBX binding(s), source XML file and Ant build file to reproduce this issue. It was run against the current CVS version (RC1+).
The two Ant tasks of interest are:
test-ns (the default target) – shows error behaviour when NS are present
test-no-ns – shows the same bindings minus the NS do in fact work.
Just unpack the zip to a new directory and run 'ant' to see the error. Run 'ant test-no-ns' to see how it should work ![]()
Sorry, there is no JUnit test case, just a simple command line test file. Hopefully it will be sufficient to identify the problem.
And, of course, you may want to set the "jibx.home" variable in the build.xml file before attempting to build it.