Re: [castor-dev] Use default namespace marshalling XML

2002-06-11 Thread Scott Brown
FYI, we just discovered that removing the "targetNamespace" attribute from the element fixes the problem. Scott Brown wrote: >Hi, > >When we marshal Java objects created using Castor's source generator, >each element is prefixed with "ns1" in the resultant XML. Could this be >a problem with o

Re: [castor-dev] Beginner question

2002-06-11 Thread Don DeLuca
There is a way to do what you want. You'd need to have 2 classes. A Vehicle class and a Car class which extends Vehicle. In the mapping file you'd also have two mappings one for Vehicle which would have the super-class properties and a Car mapping which would have the Car specific mappings. The

[castor-dev] Castor's coverage of Schema Spec.

2002-06-11 Thread PATEL,AMIT (HP-Cupertino,ex1)
Hi, I was looking for documentation on how much of the Schema spec. does Castor cover especially in terms of parsing an XSD document. Is there specific documentation on this available somewhere? Regards, Amit Patel --- If you wish to unsu

Re: [castor-dev] MySQL BLOB problem

2002-06-11 Thread pixelandink.com
On Monday, June 10, 2002, at 05:03 PM, Bruce Snyder wrote: > This one time, at band camp, pixelandink.com said: > > p> > p>I've mapped a field in one of my classes's fields to a BLOB colum in > p>MySQL, following the example in the JDO types documentation. > p> > p> > p> > p> >

[castor-dev] Use default namespace marshalling XML

2002-06-11 Thread Scott Brown
Hi, When we marshal Java objects created using Castor's source generator, each element is prefixed with "ns1" in the resultant XML. Could this be a problem with our namespace declaration in the XML schema, or is there some way to force Castor to assume the default namespace when marshalling? We

[castor-dev] clashing names

2002-06-11 Thread Stephan Götter
Hi, If a name like "type" is used in a XML-Schema I do get Exception in thread "main" java.lang.IllegalArgumentException: duplicate name found: _type Is this a known problem? Thanks, Stephan --- If you wish to unsubscribe from this mai