[jibx-users] empty xml elements

2008-01-16 Thread Ryan Bartlett
Hello- I have seen several posts on this subject, but I haven't found a solution yet. I am trying to get <./something> instead of . I am using a custom writer (it extends XMLWriterNamespaceBase and creates a W3C Document object). It works well except for the empty xml element. Thanks in ad

Re: [jibx-users] Extrem flattened binding

2008-01-16 Thread Dennis Sosnoski
Hi Wolle, I think the problem here is that you didn't specify any handling for the element, so when JiBX sees this element while unmarshalling it assumes it's past the elements which were named in the binding - and since it hasn't seen a yet it complains about that being missing. You should

Re: [jibx-users] How to use xsi:nil = "true"

2008-01-16 Thread Dennis Sosnoski
Hi Apurva, The nillable attribute is only supported on the // elements, not on a element of the binding. The reason for this is that nillable generally only makes sense when used with objects that represent some sort of structure, rather than simple values. The only thing I can suggest for yo

[jibx-users] Extrem flattened binding

2008-01-16 Thread Wolf-Dieter Mische
Hello again, after my compiling problem is solved I have another one. I had following xml structure: text1.1 text1.2 text1.3 text2 text3 No how have the binding file to, i

Re: [jibx-users] Binding binding.xml is unusable because of validation errors

2008-01-16 Thread Wolf-Dieter Mische
ahh okay. Now it works. thank you Original-Nachricht > Datum: Wed, 16 Jan 2008 13:50:47 -0900 > Von: Joshua Davies <[EMAIL PROTECTED]> > An: JiBX users > Betreff: Re: [jibx-users] Binding binding.xml is unusable because of > validation errors > Most likely the compi

Re: [jibx-users] Binding binding.xml is unusable because of validation errors

2008-01-16 Thread Joshua Davies
Most likely the compiler isn't able to find your target class - remember Jibx opens and modifies the .class file itself. Try this: java -classpath lib\jibx-bind.jar;lib\bcel.jar;build\classes org.jibx.binding.Compile binding.xml (I can't figure out how to augment the classpath when using the "-j

[jibx-users] Binding binding.xml is unusable because of validation errors

2008-01-16 Thread Wolf-Dieter Mische
Hi, I'm trying to get jibx working, but I always get this exception: "Binding binding.xml is unusable because of validation errors" I think I'm calling the compiler wrong. I have following directory structure: jibxtest ├ binding.xml ├ src //Directory with java sources ├ build