Baba wrote:
> Good Morning Cator Community, Micheal, Ralf, Joachim,
> 
> 
> 
> 
> 
> *Zitat "Brosnan, Micheal"*
> 
> *Is this because of a typo between your xml "calendar" and the mapping file
> "calender"*
> 
> This was a typing mistake by writing the example. The real mapping and xml
> file looks a little bit more complex.
> 
> 
> 
> Thanks for the status report Ralf and Joachim. At the moment I believe that
> the best way is to spend some hour's to integrate the patch. 
+1, to be honest.


> But your choice
> of words „some big changes in that area of code" provokes some headaches at
> me. If you have to estimate how big is the mount of time to become a castor
> developer and fix this bug what would you say?
No idea, to be honest, as personally I have never looked at this patch.
But to answer your question in some more detail:

a) There's at least three people who will try to answer any questions
you have (Ralf, Joachim and myslef).
b) Together with Joachim, I am currently working on refactoring Castor
to some degree to allow for JAXB compliance.

In other words, it will take some time to get your head around the
current patch, the changes (refactorings) that have been introduced in
the mean time, etc. It's all about reworking an existing patch, assert
its validity, write some good test cases and get it integrated.

With a little help from some friends, it should be achievable.


Werner>
> 
> 
> Regards
> 
> Thomas
> 
> 
> 
> 
> 
> 
> On Mon, May 26, 2008 at 8:30 PM, Joachim Grüneis <[EMAIL PROTECTED]>
> wrote:
> 
>> Hello,
>>
>> I'm Joachim (first name) and I'm working on an extension of Castor to
>> get it JAXB2 compliant. JAXB2 supports mixed content which implies
>> that finally, to reach compliance, we will have to support mixed
>> content in Castor also...
>>
>> On the other hand - I'm not yet far enough to start with the mixed
>> content issue - so it will still take some time before this issue is
>> solved.
>>
>> As Ralf pointed out - we work on Castor in our spare time.
>>
>> So either you're able to wait for the fix or give us a helping hand :-)
>>
>> Thx
>>
>> Joachim
>>
>> 2008/5/26 Ralf Joachim <[EMAIL PROTECTED]>:
>>  > 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
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
> 

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

    http://xircles.codehaus.org/manage_email


Reply via email to