[ http://jira.codehaus.org/browse/JIBX-88?page=all ] Dennis Sosnoski closed JIBX-88: -------------------------------
> Generates a exception for value-style on value tag when already warned. > ------------------------------------------------------------------------ > > Key: JIBX-88 > URL: http://jira.codehaus.org/browse/JIBX-88 > Project: JiBX > Type: Bug > Components: core > Versions: 1.0-RC2 > Environment: Windows 2K, Oracle JDeveloper > Reporter: Thomas Jones-Low > Assignee: Dennis Sosnoski > Priority: Minor > Fix For: JiBX 1.0 > > > This applies to RC2. The Warning messages are correct. I've got the wrong > attribute on the value tag. What it shouldn't be doing is throwing the > exception. > E.g. > <value value-style="attribute" name="id" field="key" /> > This is the output of the binding compiler: > [java] Warning: Undefined attribute value-style; on value element at > (line 36, col 64, in AstroBind.xml) > [java] Warning: Undefined attribute value-style; on value element at > (line 37, col 68, in AstroBind.xml) > [java] Warning: Undefined attribute value-style; on value element at > (line 38, col 94, in AstroBind.xml) > [java] Warning: Undefined attribute value-style; on value element at > (line 39, col 85, in AstroBind.xml) > [java] Error running binding compiler > [java] *** Error during code generation - please enter a bug report for > this error in Jira if the problem is not listed as fixed on the online status > page *** > [java] org.jibx.runtime.JiBXException: value-style attribute is not > supported for value, use style attribute instead at tag "value"(line 36, col > 64, in AstroBind.xml) > [java] at > org.jibx.runtime.impl.UnmarshallingContext.throwStartTagException(Unknown > Source) > [java] at > org.jibx.binding.def.BindingBuilder.unmarshalValue(BindingBuilder.java:539) > [java] at > org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBuilder.java:819) > [java] at > org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:1543) > [java] at > org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:951) > [java] at > org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:1729) > [java] at org.jibx.binding.Utility.loadBinding(Utility.java:308) > [java] at org.jibx.binding.Utility.loadFileBinding(Utility.java:389) > [java] at org.jibx.binding.Compile.compile(Compile.java:296) > [java] at org.jibx.binding.Compile.main(Compile.java:385) > [java] Java Result: 1 -- 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
