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

[CTFXG 2512007] FXGUtils and MXML-G compilation are inserting extra newlines into the generated SWF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 4.0 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      If you compile this with FXGUtils or MXML-C then you'll see that there is an extra newline before the word 'Double'.

      At first we thought this was a Flamingo problem with not including the newline between <content> and <p> but she says Flamingo correctly drops this and that the whitespace handling rules state:

      Basically, the rule being applied in this case is that whitespace which would require both an implicit p and an implicit span is dropped. So the newline and spaces between <content> and <p> are dropped and the newline and spaces between </p> and </content> are dropped. Therefore this is working as designed, per the requirements documents.

      Regardless of whether whiteSpaceCollapse has the 'collapse' or 'preserve' value, every sequence of characters between (not within) explicit <p>...</p> tags that is all whitespace is removed; no implied <p> or <span> is generated for them. In the XML DOM sense, every text node that is a direct child of the <text> [content] parent that is all whitespace is removed.

      You can look at her notes directly in the Flamingo bug in this bug group.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: