The attached has the schema, the gen'd code and a small test program. Ozgur
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arnaud Blandin Sent: Tuesday, January 15, 2002 11:42 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] wrongly placed attributes Hi Ozgur, You might be right, can you send a small schema and the generated classes that demonstrate the problem. Thanks, Arnaud > -----Original Message----- > From: Ozgur Balsoy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 7:57 AM > To: [EMAIL PROTECTED] > Subject: [castor-dev] wrongly placed attributes > > Changes log says under 0.9.3.9: > > XML: Fixed bug in the generated classes: the attributes of complexTypes > which contained > nested groups were wrongly located. > (Reported by Joseph Campolongo [[EMAIL PROTECTED]]) (Arnaud) > > I see that this problem has been fixed, however, it started another one, I > believe. > > Yes, attributes must be in the parent element, but not the content. This > fix > removed content field and set/get methods from group items as well. It > should have stayed in the items. > > Currently, when we have XML like "<p>hello <b>John</b> how are you?</p>" > > instead of having items under 'p' as > > p.item.content: hello > p.item.b: john > p.item.content: how are you? > > now we have > > p.content: hello how are you? > p.item.b: john > > And this is marshalled as > > <p>hello how are you? <b>john</b></p> > > Has it been reported previously? > > Ozgur > > ----------------------------------------------------------- > 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
testcase.zip
Description: Zip compressed data
