Hi,

looks like I have now lost the context .. ;-). How does your last question relate to the problem as described below ?

Regards
Werner

On 16.08.2010 11:17, [email protected] wrote:
Hi,

so the supported unmarhalling of xml fragments into a string is not
intentionally?

Thank you

-----Original Message-----
From: Werner Guttmann [mailto:[email protected]]
Sent: Sonntag, 15. August 2010 22:13
To: [email protected]
Cc: [email protected]
Subject: Re: [castor-user] Marshalling Strings which are xml

Hi,

as far as I know, it is not possible to inject proper XML into the
Marshaller during marshalling. Bear in mind that marshalling is the
process of converting an object instance (and its state) to its XML
representation.

Regards
Werner

On 15.08.2010 20:30, [email protected] wrote:
Hi,

the mapping is this:

                <field name="foo" type="string"
handler="com.foo.XmlFieldHandler">
                        <bind-xml name="foo" node="element" />
                </field>

and the Fieldhandler the one described here:

http://www.castor.org/how-to-unmarshal-raw-xml.html

The xml is still escaped while marshalling.

Thank you

-----Original Message-----
From: Ralf Joachim [mailto:[email protected]]
Sent: Dienstag, 10. August 2010 19:01
To: [email protected]
Subject: Re: [castor-user] Marshalling Strings which are xml

Hi ???,

have you already had a look at:

http://www.castor.org/how-to-unmarshal-raw-xml.html

While the how-to is about unmarshaling I guess some of the
information
can be applied for marshaling too. If you still have
problems, could you
please post the relevant part of your mapping?

Regards
Ralf

[email protected] schrieb:
Hi,

when I marshall a String field which contains XML, the XML
gets escaped. How
can I disable this?

Thank you




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

      http://xircles.codehaus.org/manage_email

--

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







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

   http://xircles.codehaus.org/manage_email


Reply via email to