[
https://issues.apache.org/jira/browse/FLEX-33140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417202#comment-13417202
]
Stefan Cameron commented on FLEX-33140:
---------------------------------------
@CarolFrampton Thanks for pointing that out. I forgot TLF wasn't transitioned.
> id attricute in <a> tag converts to lowercase when using
> TextConverter.importToFlow with TEXT_FIELD_HTML_FORMAT
> ---------------------------------------------------------------------------------------------------------------
>
> Key: FLEX-33140
> URL: https://issues.apache.org/jira/browse/FLEX-33140
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Framework
> Affects Versions: Adobe Flex SDK 4.6 (Release)
> Environment: OS found: Windows 7 x64 (though likely all OS platforms
> affected)
> Browser found: IE 9, Chrome 20
> Language found: English
> Reporter: Stefan Cameron
> Labels: TLF
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira