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
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
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
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>
>
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
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