Hi Thomas,

I have had a look at this about 2 years ago. At that time I could manage
to get the lost patch against 0.9.5 from the person which prepared it
but it couldn't be applied any more according to some big changes in
that area of code. Reviewing the patch it seamed to me that the solution
chosen was very good. So I decided to give it a try to apply the patch
by hand but according to the complexity of the problem things didn't
work out of the box. According to the limited spare time I have for
Castor I decided to give up on this issue at that time.

Having said that I don't see a useful work around for the issue at hand.

At the moment I use my limited spare time for Castor to mentor a student
working at a big refactoring during GSoC while I work on another
important refactoring that leads to fix some other critical bugs. As
Edward, to whom the issue is assigned, had no time for Castor during the
last few month I don't think he will be able to fix this in due time.
With regards to the other committers I can't tell you if they have
planed to fix this soon.

There are 2 options I can offer you at the moment. If you like to work
on the issue yourself I will support you to get things fixed and
committed. The other option is that you take professional services which
will allow me to spend time on this issue during my working hours and
you will get this solved in a timely manner.

Sorry for not being able to tell you better news
Ralf
Castor, committer


Baba schrieb:
> Hi Ralf,
>  
> oh, this is a bad news. Is planed to fix this bug? shortly?
> The attached patch files are working? Or is any other workaround in use?
> 
> Regards
> Thomas
>  
>  
> On Mon, May 26, 2008 at 2:17 PM, Ralf Joachim <[EMAIL PROTECTED]>
> wrote:
> 
>     Hi Baba,
> 
>     at the moment Castor is not able to handle mixed content as reported at
>     http://jira.codehaus.org/browse/CASTOR-513
> 
>     Regards
>     Ralf
> 
> 
>     Baba schrieb:
>     > Hi Castor Community,
>     >
>     >
>     >
>     > I'm looking for an idea for the following problem. I have to read and
>     > write a XML File, which represent a text document. A basic problem
>     of a
>     > text document is the order of the text elements and the order of the
>     > text. The first problem with the order of the text elements I found a
>     > solution which works. But for the order of the text between the
>     elements
>     > I'am searching for a solution or an idea how to solve the problem.
>     > Here an example for the problem:
>     >
>     >
>     > <text:p text:style-name="*StVo_5f_Fett*">
>     >
>     >   <checkBox />
>     >
>     >   <bookmark name="*BM-1*" />
>     >
>     >   *Your letter dated on *
>     >
>     >   <calendar />
>     >
>     > *  handel Mr. / Mrs*
>     >
>     >   <bookmark text:name="*BM-2*" />
>     >
>     > </text:p>
>     >
>     >
>     >
>     > I marschal this XML with the following mapping file:
>     >
>     >
>     >
>     > <class name="xml.objects.body.P">
>     >
>     >       <map-to xml="text:p" />
>     >
>     >
>     >
>     >       <field name="styleName" type="java.lang.String">
>     >
>     >             <bind-xml name="text:style-name" node="attribute"/>
>     >
>     >       </field>
>     >
>     >
>     >
>     >       <field name="value" type="java.lang.String">
>     >
>     >             <bind-xml node="text"/>
>     >
>     >       </field>
>     >
>     >
>     >
>     >       <field name="CheckBox" type="xml.objects.body.CheckBox" >
>     >
>     >             <bind-xml name="checkBox" node="element"/>
>     >
>     >       </field>
>     >
>     >
>     >
>     > <field name="Bookmark" set-method="addBookmark"
>     > type="xml.objects.body.Bookmark" collection="arraylist">
>     >
>     >             <bind-xml name="bookmark" node="element"/>
>     >
>     >       </field>
>     >
>     >
>     >
>     > <field name="Calender" set-method="addCalender"
>     > type="xml.objects.body.Calender" collection="arraylist">
>     >
>     >             <bind-xml name="calender" node="element"/>
>     >
>     >       </field>
>     >
>     > </class>
>     >
>     >
>     >
>     > After the unmarschal of the object tree I get this XML:
>     >
>     >
>     >
>     > <text:p text:style-name="*StVo_5f_Fett*">
>     >
>     >   *Your letter dated on**  handel Mr. / Mrs*
>     >
>     >   <checkBox />
>     >
>     >   <bookmark name="*BM-1*"/>
>     >
>     >   <calendar />
>     >
>     >   <bookmark text:name="*BM-2*"/>
>     >
>     > </text:p>
>     >
>     > Regards
>     > Thomas
> 

-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to