Hi

I have simple class

public class Test
{
   public String s = "<p data="test"/>";
}

and mapping:
<?xml version="1.0"?>
<mapping>
<class name="Test" access="read-only">
        <map-to xml="Test"/>
        <field name="s" type="java.lang.String"
direct="true">
                <bind-xml name="S"/>
        </field>
</class>
</mapping>

in this case result after marshaling object is
<?xml version="1.0"?>
<Test><S>&lt;p data="test"/&gt;</S></Test>

Question:
How change mapping file to get result:
<?xml version="1.0"?>
<Test><S><p data="test"/></S></Test>

Serg Maslyukov



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to