Re: [jibx-users] Simple Precompiled Binding Fails

2009-04-21 Thread Karel Alfonso
Hi Lenny, I had the same issue with precompiled bindings. Please refer to my previous post: http://www.mail-archive.com/jibx-users%40lists.sourceforge.net/msg03937.html there you can find a fix that involves rebuilding JiBX and using that jar instead. Dennis mentioned he would take a look a

[jibx-users] Simple Precompiled Binding Fails

2009-04-21 Thread lenny.bonilla
Hi guys, I am trying to get a simple precompiled binding (using ant) to work. This is the binding that is being called (precompiledBindings.xml) This is the binding that is using the precompiled binding (bindings.xml) Here is the exception: [bind] *** Error during code generation for

Re: [jibx-users] Maven bind using schema (Dennis Sosnoski)

2009-04-21 Thread Ken Preudhomme
Update. Well I got things working running as an ant task. However, I wanted to have a cleaner code base so I decided to work on building a maven plugin. It appears that I may have discovered a bug (or lack of knowledge on my behalf). Here is what my plugin is doing CodeGenCommandLine cmdL

[jibx-users] org.jibx.runtime.JiBXException: No unmarshaller for element "TIN"

2009-04-21 Thread Deyan Atanasov
Hello, I have a problem with the jibx mapping for an app I'm developing. It just can't find an element and I'm sure its there. This is the exception: 13:25:50,875 ERROR [SP830Sender] Transformation to Sp831 unsuccessfull 13:25:50,875 ERROR [STDERR] org.jibx.runtime.JiBXException: No unmarshaller

[jibx-users] FW: Error parsing schema

2009-04-21 Thread Anurag Khanna
Hi I'm trying to run the Jibx CodeGen utility to create bindings and value objects but all I get is Loaded and validated 1 specified schema(s) and 1 referenced schema(s) Exception in thread "main" java.lang.NullPointerException at org.jibx.runtime.impl.UTF8Escaper.writeAttribute(

Re: [jibx-users] Customizing List implementation in CodeGen

2009-04-21 Thread Dennis Sosnoski
It shouldn't be all that hard to change the field initializer, but it involves digging into the AST stuff using untyped collections. Here's a quick rundown: The FieldDeclaration has a fragments() list property (since multiple fields can be declared in a single statement, I think), and the first

Re: [jibx-users] Customizing List implementation in CodeGen

2009-04-21 Thread Andrea Cisternino
Hi Dennis, Thanks for the reply. > Munging the generated code in the AST with a ClassDecorator valueAdded() > or finish() method is the only way you can currently do this. You should > only need to change the initializer for the field to make this work. In fact I noticed that I don't need to cha