[ http://jira.codehaus.org/browse/JIBX-81?page=comments#action_49717 ]
Dennis Sosnoski commented on JIBX-81: ------------------------------------- You can make a <namespace> apply to all the mappings, but need to move it out as a child of the <binding> element. If you nest it inside a particular <mapping>, the <namespace> only applies to the definitions within that <mapping>. > Namespace causing unmarshalling to fail > ---------------------------------------- > > Key: JIBX-81 > URL: http://jira.codehaus.org/browse/JIBX-81 > Project: JiBX > Type: Bug > Components: core > Versions: CVS > Environment: Windows 2000, JDK 1.4.2_06, Ant 1.6.5 > Reporter: Leif Stainsby > Attachments: jibx-NS-bug-2005Oct18.zip > > > 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. -- 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 JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
