|
From: Rajesh K. <raj...@gm...> - 2012-05-10 07:11:47
|
I just started working with my actual XSDs. Which work something like this
A.XSD references B.XSD which references C.XSD.
I managed to generate all the involved classes. Simply by using CodeGen -t
with only A.XSD .
I also managed to compile all the classes using netbean.
Now when i attempt to bind them I get the following error message any idea
on what i should look into (I search the web and all the questions which
involve this error remain unanswered)
[rajesh@localhost rajeshSample]$ java -cp /home/rajesh/jibx/lib/jibx-
bind.jar:/home/rajesh/jibx/lib/jibx-extras.jar:./GenClasses
org.jibx.binding.Compile ./binding.xml
*Error: factory-method needed for abstract type
'org.fpml.fpml5.confirmation.PaymentRule'; on structure element at (line
228, col 121, in binding.xml)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of
validation errors
at org.jibx.binding.Utility.loadBinding(Utility.java:358)
at org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
at org.jibx.binding.Compile.compile(Compile.java:217)
at org.jibx.binding.Compile.main(Compile.java:384)*
Any suggestions ??
|