I allready did at the tenth. Actually you reply that it worked. That's how i found out
it was a jdk version thing. but i cannot think of any new jdk feature that is used in
this (or jdk bug fix). The sample was called type.zip. I'll post it again, if needed.
I can't lookup the archive message id from here.
This is a partially of list discussion I am making public as to clarify some things to
others.
from the conversation back then:
YOU:
Daan,
I tried your example -- I didn't get any exceptions when unmarshalling.
I've attached my version. I didn't change any code, either, 'cept for a
few println()'s.
ME:
ok I get the exception from your code too:
YOU:
I get this:
avmaria: 2 arguments
Exception in thread "main" java.lang.NoClassDefFoundError:
org/exolab/castor/xml/ValidationException
at test.test.unmarshal(test.java:27)
at test.test.main(test.java:53)
When I add castor and xerces, all is OK.
ME:
You are using jdk 1.4 right?
YOU:
yep. j2sdk1.4.1
ME:
I knew,
I sent this to the list this morning:
<self-quoting-mode>
With some help I reduced the problem to an jdk/jvm version related problem.
jdk1.3.1_04 does not work.
j2sdk1.4.0_02 works
both marshal fine, so the message about finding it is incorrect.
</self-quoting-mode>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:Erik.Ostermueller@;alltel.com]
> Sent: Monday, October 28, 2002 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] please (was) xsi:type and jdk 1.3x
>
>
> Daan,
>
> If you post a small example
> I'll loan you this extra set of eyes.
>
> --Erik
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:Daan.Hoogland@;nc3a.nato.int]
> > Sent: Monday, October 28, 2002 8:36 AM
> > To: [EMAIL PROTECTED]
> > Subject: [castor-dev] please (was) xsi:type and jdk 1.3x
> >
> >
> > I am stuck to jdk 1.3.1 due to another library
> > (LuciadMap) with swing problems, so please is anyone
> > has the vaguest of clues....
> >
> > -----Original Message-----
> > From: Hoogland Daan
> > Sent: Monday, October 28, 2002 2:35 PM
> > To: Castor Dev (E-mail)
> > Subject: xsi:type and jdk 1.3x
> >
> >
> > Does anyone know why unmarshalling an abstract type by
> > means of xsi:type doesn't work in jdk 1.3, while it
> > does in .4? Or is this maybe fixed by now?
> >
> > where to look...
> >
> > thanks
> >
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of:
> > unsubscribe castor-dev
> >
> >
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev