Ticket #739 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by zach

  • Description modified (diff)

comment:2 Changed 3 years ago by pablo

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 828

comment:3 Changed 3 years ago by zach

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 3 years ago by pablo

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in 919

Note: See TracTickets for help on using tickets.