Ticket #739 (closed enhancement: fixed)
XML parsers should be case insensitive
| Reported by: | zach | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | Flash 5.1 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description (last modified by zach) (diff)
The XML parsers, especially ASX, should be case insensitive for the elements and attributes.
Something like:
public static function getAttribute(xml:XML, attribute:String):String{
for (var currentAttribute:XML in xml.attributes()){
if (currentAttribute.name().toString().toLowerCase() == attribute) {
return currentAttribute.toString()
}
}
return null;
}
Change History
Note: See
TracTickets for help on using
tickets.
