Hi,
        I'm not able to fix the linefeed issue, I need to have linefeed
Unicode (
) between two properties, the problem is the "&" in Unicode is
interpreted to "&" in the generated XML.

private static final String LINE_BREAK = "
"; private String address1;
private String address2; private String street;


public String getStreet(){
        street = address1 + LINE_BREAK + address2;
        return street;
}

Expected
===========
<Street>add1&#xA;add2</Street>


Generated
===========
<Street>add1&amp;#xA;add2</Street>              ("&" was interpreted to
"&amp;")


Here is the mapping:
=====================

<field name="Street" type="java.lang.String">
        <bind-xml name="Street" />
</field>


Can anybody help me in this?


Thanks

Nizam


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to