Hi Joshua,
This should now be caught by the validation code (before code
generation). If you just want to skip an element (and all its content)
when unmarshalling the official way of doing this is by using <structure
name="abc"/> - see the docs at
http://jibx.sourceforge.net/details/structure-element.html
- Dennis
Davies, Joshua wrote:
Jibx asked me to report this error, so here it is:
[bind] Error running binding compiler
[bind]
[bind] *** Error during code generation - please report this error
on the JiBX users list so that the condition can be caught during
validation ***
[bind] org.jibx.runtime.JiBXException: No property for value at tag
"value" (line 27, col 30, in AccurintBusinessReportResponse.xml)
[bind] at
org.jibx.runtime.impl.UnmarshallingContext.throwStartTagException(Unmars
hallingContext.java:2622)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalValue(BindingBuilder.java:5
98)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBu
ilder.java:841)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructure(BindingBuilder.ja
va:1435)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBu
ilder.java:845)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructure(BindingBuilder.ja
va:1293)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBu
ilder.java:845)
n(BindingBuilder.java:845)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java
:1567)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.jav
a:973)
[bind] at
org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBu
ilder.java:1750)
[bind] at
org.jibx.binding.Utility.loadBinding(Utility.java:309)
[bind] at
org.jibx.binding.Utility.loadFileBinding(Utility.java:389)
[bind] at org.jibx.binding.Compile.compile(Compile.java:294)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at
org.apache.tools.ant.Target.performTasks(Target.java:369)
[bind] at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[bind] at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at
org.apache.tools.ant.Target.performTasks(Target.java:369)
[bind] at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:673)
[bind] at org.apache.tools.ant.Main.startAnt(Main.java:188)
[bind] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[bind] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
This was caused by a binding element of the form:
<value name="abc" />
Which used to be allowed in beta3c, but apparently isn't in rc0. We
really do need a good default way to skip over elements in
unmarshalling, though.
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&opÌk
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users