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

id attricute in <a> tag converts to lowercase when using TextConverter.importToFlow with TEXT_FIELD_HTML_FORMAT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.6 (Release)
    • None
    • OS found: Windows 7 x64 (though likely all OS platforms affected)
      Browser found: IE 9, Chrome 20
      Language found: English

    Description

      var text:String = "<a id='FOO'>bar</a>";
      var flow:TextFlow = TextConverter.importToFlow(text, TextConverter.TEXT_FIELD_HTML_FORMAT);
      flow.getElementByID("FOO") == null // true – should be false but ID has been imported as "foo"

      Note that importing via TextFlowUtil.importToString() doesn't have this issue (though the point here is to import an HTML-formatted string so TextFlowUtil is not an option since it expects TLF formatting). Also, the imported anchor element's 'href' attribute is not affected: it retains its casing as expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scrlnet Stefan Cameron
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: