Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EE4E0200BDB for ; Mon, 12 Dec 2016 08:41:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 732EC160B0D; Mon, 12 Dec 2016 07:41:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C3118160B22 for ; Mon, 12 Dec 2016 08:40:59 +0100 (CET) Received: (qmail 69131 invoked by uid 500); 12 Dec 2016 07:40:59 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 68944 invoked by uid 99); 12 Dec 2016 07:40:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 07:40:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2B0E2C03DF for ; Mon, 12 Dec 2016 07:40:58 +0000 (UTC) Date: Mon, 12 Dec 2016 07:40:58 +0000 (UTC) From: "Piotr Zarzycki (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-35213) Assigned multi line CDATA section to InnerHtml bead causes exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 07:41:01 -0000 [ https://issues.apache.org/jira/browse/FLEX-35213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Zarzycki updated FLEX-35213: ---------------------------------- Attachment: multi_line.png > Assigned multi line CDATA section to InnerHtml bead causes exception > -------------------------------------------------------------------- > > Key: FLEX-35213 > URL: https://issues.apache.org/jira/browse/FLEX-35213 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Affects Versions: Apache FlexJS 0.8.0, Apache FalconJX 0.8.0 > Reporter: Piotr Zarzycki > Attachments: multi_line.png > > > Assigned multi line CDATA to InnerHtml causes exception in compiled version of application. > In MDL example application following code: > {code:xml} > > > > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sagittis pellentesque lacus eleifend lacinia... > ]]> > > > > {code} > Causes an exception: > {code} > Cards.js:253 Uncaught SyntaxError: Invalid or unexpected token > MainNavigation.js:613 Uncaught ReferenceError: Cards is not defined > at MainNavigation.get (MainNavigation.js:613) > at MainNavigation.org.apache.flex.core.ContainerBase.addedToParent (ContainerBase.js:173) > at App.org.apache.flex.core.Application.addElement (Application.js:155) > at App.org.apache.flex.core.Application.initialize (Application.js:69) > at App.org.apache.flex.core.Application.start (Application.js:279) > at index.html:227 > {code} > In the attached screenshot I see that after compile CDATA section couple of "/n" has been added. -- This message was sent by Atlassian JIRA (v6.3.4#6332)