Re: [castor-dev] unmarshalling + tips & tricks

2002-11-20 Thread Daan.Hoogland
Just a thought, put it in a string in a stringstream and unmarshall multiple objects from it. I'm not sure if this works or gives an exception if it meets the second . If it does you'll have to split it "by hand". Good luck. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
I just talked, We have a packet filter that only allows for passive ftp. If you use a browser or set passive mode, you'll be allright. -Original Message- From: [EMAIL PROTECTED] [mailto:jpjansen@;snow.nl] Sent: Monday, November 11, 2002 5:30 PM To: Hoogland Daan Subject: Re: FW: [castor-

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
I'll talk to the admin:-( > -Original Message- > From: [EMAIL PROTECTED] > [mailto:Erik.Ostermueller@;alltel.com] > Sent: Monday, November 11, 2002 5:09 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] the reverse of XMLInstance2Schema > > > Daan, > > I'm having trouble downloade

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
H Eitan, > where can i find out more about daan's gui generator? try ftp://ftp.snow.nl/pub/castor there are some archives there, no documentation. One of the archives contains a patched castor. The others example applications. I will try to continue put in the odd hour a week, but can't guarant

Re: [castor-dev] Validation exception with default code generation

2002-10-29 Thread Daan.Hoogland
H Bill, Your element is oneof and your class TEST1. Are you sure they are a match? > -Original Message- > From: Bill Laird [mailto:willydog66@;hotmail.com] > Sent: Tuesday, October 29, 2002 6:56 AM > To: [EMAIL PROTECTED] > Subject: [castor-dev] Validation exception with default code > g

Re: [castor-dev] please (was) xsi:type and jdk 1.3x

2002-10-29 Thread Daan.Hoogland
Did you run "ant run" or from the command line? When you send your version it worked with my settings as well but only when I ran the ant target. It turned out that ant was calling the wrong, or probably right, jvm. I found out by running with verbose and debug flags on, after a lot of staring.

Re: [castor-dev] please (was) xsi:type and jdk 1.3x

2002-10-28 Thread Daan.Hoogland
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

[castor-dev] please (was) xsi:type and jdk 1.3x

2002-10-28 Thread Daan.Hoogland
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 unm

[castor-dev] xsi:type and jdk 1.3x

2002-10-28 Thread Daan.Hoogland
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 [

Re: [castor-dev] Bug in generating XML Schema using XMLInstance2Schema

2002-10-22 Thread Daan.Hoogland
Yes if you send in your schema, or some other that shows the problem. > -Original Message- > From: Arati [mailto:arati_rahalkar@;persistent.co.in] > Sent: Tuesday, October 22, 2002 4:25 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] Bug in generating XML Schema using > XMLInstance2Sche

[castor-dev] last version uifactory

2002-10-18 Thread Daan.Hoogland
H, Some people got the code by mail, but there is a patched version of castor 0.9.3.21 in ftp://ftp.snow.nl/pub/castor. It is alpha still, work is on hold at the moment, but given some stimulous I will continue some day soon. Note that it is my plan to either integrated it with castor on the mi

Re: [castor-dev] The future of development of applications

2002-10-18 Thread Daan.Hoogland
Two cent: I think that, starting the development of an application, using xml data, you start by making example xml instances at first. So the XMLInstance2Schema is not just useful when you get a schema, but actually a help at designing one. Not that I talk of experience, I followed this path b

Re: [castor-dev] SourceGenerator on multiple namespaces

2002-10-17 Thread Daan.Hoogland
here's a curious cat. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:Erik.Ostermueller@;alltel.com] > Sent: Thursday, October 17, 2002 4:14 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] SourceGenerator on multiple namespaces > > > > Vincent wrote: > >> I also agree w

Re: [castor-dev] xsi:type not unmarshaled proper

2002-10-10 Thread Daan.Hoogland
btw. the real live genericOperation is three inheritance levels down from operation, and as the name suggests is not the end of the line. operation <- rasterOperation <- leveledOperation <- genericOperation They are all in one package but derivates may not be. And also they are in the operation

Re: [castor-dev] xsi:type not unmarshaled proper

2002-10-10 Thread Daan.Hoogland
Good night and good morning, be sure to get your eight hours. now for my isolated test case the output: bash-2.05a$ java -cp classes test.test && java -cp classes test.test dsgf segf avmaria: 0 arguments avmaria: 2 arguments org.xml.sax.SAXException: unable to find FieldDescriptor for 'item' i

Re: [castor-dev] xsi:type not unmarshaled proper

2002-10-10 Thread Daan.Hoogland
Wow, this is five layers deep in a structure containing other things. I don't actually call anything on these objects. Can the generated objects be made to use that unmarshaller if i construct one like you describe? > -Original Message- > From: Keith Visco [mailto:[EMAIL PROTECTED]] > S

Re: [castor-dev] xsi:type not unmarshaled proper

2002-10-10 Thread Daan.Hoogland
On the object. > -Original Message- > From: Keith Visco [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 10, 2002 10:29 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] xsi:type not unmarshaled proper > > > > > Daan, > > How are you calling the Unmarshaller, this will help

Re: [castor-dev] xsi:type not unmarshaled proper

2002-10-09 Thread Daan.Hoogland
I have a +- 4 weeks old cvs version in here. This helps. now i am getting a class not found exception. Both with the way you describe and with the full path name. And the other side of it is that it does not marshal it in that way. > -Original Message- > From: Arnaud Blandin [mailto:[EM

[castor-dev] O2Descriptor?

2002-10-08 Thread Daan.Hoogland
If it is possible to create a mapping file from a class-file, Would it not be an equal amount of work to create the source for a Descriptor class for it? --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with

Re: [castor-dev] Load of Schema into Schema Model

2002-10-07 Thread Daan.Hoogland
You should define a subset of schema I think. The smallest one that is usefull to your users. If it contains only structures supported by castor, then why not. But if you then want to generate code for it the subset gets a little smaller. btw, it looks like your doing something people would ve

Re: [castor-dev] optional date attribute throws null pointer exception

2002-10-04 Thread Daan.Hoogland
I take it you mean the has method. I'd rather work independent of wether descriptors are available, as much as possible. That means at generation time. The case of an optional string works fine by the way, I can just check for null, maybe it is a date issue. I'll try to isolate the problem la

Re: [castor-dev] toString() methods

2002-09-27 Thread Daan.Hoogland
> From: Bruce Snyder [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 5:25 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] toString() methods > > > This one time, at band camp, Keith Visco said: > > KV>Perhaps, an optional configuration to generate a > toXMLString() method.

Re: [castor-dev] toString() methods

2002-09-27 Thread Daan.Hoogland
> By the way, Mr. Hoogland: very cool email address! ;) borrowed richness;) --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev

Re: [castor-dev] toString() methods

2002-09-27 Thread Daan.Hoogland
toXML() or xmlString() I'd say, but I like it. > -Original Message- > From: Keith Visco [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 11:32 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] toString() methods > > > > Perhaps, an optional configuration to generate a

[castor-dev] toString() methods

2002-09-25 Thread Daan.Hoogland
tai, Does it make sense to have objects have a toString method that returns the xml representation of this object. Without the . I've been longing for it a couple of times now. --- If you wish to unsubscribe from this mailing, send mail

Re: [castor-dev] SourceGenerator: Class Descriptor

2002-09-23 Thread Daan.Hoogland
H Wei, I share your expectation on the behaviour of your example. I know that the SchemaInstance type type has been an issue on the list a while ago. I'm not sure on the outcome. Have a look at the (2) archives. I avoided the use of xsi:type so far. > Although I can not see how this informatio

[castor-dev] RE: Taking some work of your shoulders

2002-07-09 Thread Daan.Hoogland
Arnoud, I read yet another set of questions on this subject on the list so I am going public again. > -Original Message- > From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 4:47 PM ... > I understand you are interested for the moment in the namespace issue

Re: [castor-dev] FW: generated code for wrapper classes

2002-06-27 Thread Daan.Hoogland
H, I wrote an ugly workaround for the problem mentioned, but I ran into the next one. So I'm not sure if it is what is needed. (The diff as attachment is reversed. I got thrown out of the lab before I could make a proper one) here is the next one: [javac] Compiling 116 source files to /h