Re: ComponentEditor Format bug?

From: Q (qdola..mail.com)
Date: Thu Jun 03 2010 - 23:31:50 UTC

  • Next message: Mike Schrag: "Re: ComponentEditor Format bug?"

    The formatter doesn't work very well with invalid markup because it is based on an XML parser. If you fix the <br> tag it should format correctly.

    On 04/06/2010, at 8:05 AM, Kieran Kelleher wrote:

    > Is this a bug? ..... if someone can confirm, I will submit a JIRA:
    >
    > Before formatting with Cmd-Shift-F, I had
    >
    > <td><wo:str value = "$recentCouponEntryListItem.message.dataRecord.fullNameFullyCapitalized" />
    > <br><wo:str value = "$recentCouponEntryListItem.message.dataRecord.street1" />, <wo:str value = "$recentCouponEntryListItem.message.dataRecord.zip"/></td>
    >
    >
    >
    > .... after formatting, I got:
    >
    > <td>
    > <wo:str value = "$recentCouponEntryListItem.message.dataRecord.fullNameFullyCapitalized" />
    > <br />,
    > <wo:str value = "$recentCouponEntryListItem.message.dataRecord.zip" />
    > </td>
    >
    >
    > Basically the part (<wo:str value = "$recentCouponEntryListItem.message.dataRecord.street1" />) got completely deleted.
    >
    >
    >
    > The solution is to change the <br> to <br /> before doing Cmd-Shift-F.
    >
    >
    > Anyone else sene this behaviour?
    >
    > Regards, Kieran
    >
    >
    > PS. Environment: WO 5.3.3, Eclipse 3.5.1 and wolips 3.5.6049

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10)



    This archive was generated by hypermail 2.0.0 : Thu Jun 03 2010 - 23:32:42 UTC