Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35173

In MXML CDATA Can't have EOF characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.8.0
    • Apache FalconJX 0.8.0
    • FlexJS
    • None
    • Mac OSX Sierra

    Description

      Something like the following code will compile, but at runtime will throw:

      SyntaxError: Unexpected EOF due to end of file characters in each line

      <js:H4>
      <js:text>
      <![CDATA[
      Featured event:<br>
      May 24, 2016<br>
      7-11pm
      ]]>
      </js:text>
      </js:H4>

      workaround right now is write all text in just one line to avoid EOF characters

      Attachments

        Activity

          People

            aharui Alex Harui
            carlosrovira Carlos Rovira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: