AW: AW: [castor-user] Type conversion error: could not set value of _duration(int) with value of type java.lang.Integer

2007-03-06 Thread Werner Guttmann
Okay, time to file a new Jira issue at http://jira.codehaus.org/browse/CASTOR, and attach *all* relevant files for me to be able to replay this. Werner Von: Nick Pilch [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 06. März 2007 22:14 An: user@castor.code

AW: [castor-user] Default binding of xs:integer changed from int to long between v0.9.6 and v1.1.1

2007-03-06 Thread Werner Guttmann
Show me a XML schema fragment with an typed element definition, and I'll provide the . Werner > -Ursprüngliche Nachricht- > Von: Karr, David [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 06. März 2007 22:15 > An: user@castor.codehaus.org > Betreff: RE: [castor-user] Default binding of

Re: [castor-user] Issue with XMLClassDescriptorImpl

2007-03-06 Thread Praveen Jani
Never mind folks. Classpath issues. Had the old JAR at more than one places. Praveen Jani <[EMAIL PROTECTED]> wrote:Hi I have just upgraded to 1.0.5. We use JDK 1.4. I get following issue when I compile: getFieldDescriptor(java.lang.Strin g,org.exolab.castor.xml.NodeType) in org

[castor-user] Issue with XMLClassDescriptorImpl

2007-03-06 Thread Praveen Jani
Hi I have just upgraded to 1.0.5. We use JDK 1.4. I get following issue when I compile: getFieldDescriptor(java.lang.Strin g,org.exolab.castor.xml.NodeType) in org.exolab.castor.xml.util.XMLClassDescriptorImpl cannot be applied to (java.lang.String,java.lang.String,org.exo lab.casto

RE: [castor-user] Default binding of xs:integer changed from int to long between v0.9.6 and v1.1.1

2007-03-06 Thread Karr, David
> -Original Message- > From: Werner Guttmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 06, 2007 12:25 PM > To: user@castor.codehaus.org > Subject: Re: [castor-user] Default binding of xs:integer > changed from int to long between v0.9.6 and v1.1.1 > > Actually, it should be able t

Re: AW: [castor-user] Type conversion error: could not set value of _duration(int) with value of type java.lang.Integer

2007-03-06 Thread Nick Pilch
"Type conversion error: could not set value of _duration(int) with value of type java.lang.Integer" At 8:55 AM +0100 3/6/07, Werner Guttmann wrote: What's the exact error message you are getting ? Werner Von: Nick Pilch [mailto:[EMAIL PROTECTED] Gesendet: Montag, 05. März 2007 23:55 An: use

Re: [castor-user] Default binding of xs:integer changed from int to long between v0.9.6 and v1.1.1

2007-03-06 Thread Werner Guttmann
Actually, it should be able to override this using a element within an <*Binding>. Werner PS Thanks for reading the release notes .. ;-) Karr, David wrote: > I just tried the latest 1.1.1 snapshot this morning, and now that other > issues have been resolved, I'm now seeing that the default bind

Re: [castor-user] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2007-03-06 Thread Werner Guttmann
Which is not sufficient, as you are going to need commons-logginf from Jakarta. Werner Iker G.A. wrote: > I´ve those *.jar in the classpath: > > *castor-1.1 > *castor-1.1-codegen > *castor-1.1-codegen-anttask > *castor-1.1-commons > *castor-1.1-ddlgen > *castor-1.1-examples-sources > *castor-1.1

Re: [castor-user] Default binding of xs:integer changed from int to long between v0.9.6 and v1.1.1

2007-03-06 Thread Ralf Joachim
Hi David, I know that we changed xs:integer from 'int' to 'long' to support the minimum value range that is required by XML schema specification. I think this can not be overwitten, but I am not sure here. Regards Ralf Karr, David schrieb: I just tried the latest 1.1.1 snapshot this mornin

Re: [castor-user] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2007-03-06 Thread Ralf Joachim
At http://castor.org/download.html#Dependent-Libraries you find a list of libraries that are required to use castor within your application. You propably don't need all of them as some are only required for special features. I'd suggest to look which of the libs contains the required class if y

Re: [castor-user] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2007-03-06 Thread Iker G.A.
I´ve those *.jar in the classpath: *castor-1.1 *castor-1.1-codegen *castor-1.1-codegen-anttask *castor-1.1-commons *castor-1.1-ddlgen *castor-1.1-examples-sources *castor-1.1-xml Thank you very much Ralf Joachim <[EMAIL PROTECTED]> escribió: Do you have commons-logging.jar on your classpath? R

[castor-user] Default binding of xs:integer changed from int to long between v0.9.6 and v1.1.1

2007-03-06 Thread Karr, David
I just tried the latest 1.1.1 snapshot this morning, and now that other issues have been resolved, I'm now seeing that the default binding of "xs:integer" changed from "int" to "long" between v0.9.6 and v1.1.1. Why was this change made? Can I override this in the binding file, leaving it bound to

Re: [castor-user] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2007-03-06 Thread Ralf Joachim
Do you have commons-logging.jar on your classpath? Ralf Iker G.A. schrieb: Hi, I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.exolab.castor.util.Configuration.(Configuration.java:103) at org.exolab.c

[castor-user] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

2007-03-06 Thread Iker G.A.
Hi, I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.exolab.castor.util.Configuration.(Configuration.java:103) at org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:280) at org.exolab.cas

Re: [castor-user] Use of superclass for source generation

2007-03-06 Thread Oliver Fourman
Hi Srdjan, I am interested in your schema that deals with super classes. Can you post an example? Last week I posted a similar question concerning this object: http://archive.castor.codehaus.org/user/45E72825.80102%40dfki.de http://archive.castor.codehaus.org/dev/45E7FD70.4050401%40dfki.de M