an do here.
Just my 2 cents.
Narinder
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 10:25 AM
To: castor-dev@exolab.org
Subject: [BULK] - Re: [castor-dev] Castor XML - duplicate bind-xml names
We are using legacy system that does not co
|
| cc:
|
| Subject: Re: [castor-dev] Castor XML - duplicate bind-xml names
|
>--|
Hi Da
ok hear me out on this one.
class A{
String field1;
String field2;
}
class B{
String field2;
String field3;
}
class DumpEverything{
String field1,field2,field3;
}
You can probably map class DumpEverything with ur
''
And then pick a decision field say field3
if(field3==null)
A a = BeanMa
Hi David,
How do you distinguish between whether something is a Contract or a
Payment if they both use the Contract element name?
Castor basically follows the rules set forth in XML Schema, which
doesn't allow two sibling elements to have the same name and different
types. Basically if you have
Hi,
I have a Response POJO that has two attributes: contracts and payments. The
XML message I receive from SOAP for the element can have only
one sub-element whether contract or payment, cannot be both at the same
time. Castor gives error because I have two same bind-xml element names
(contract