[Webkit-unassigned] [Bug 13347] New: XMLDom node attributes case is being overridden to lower case???

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 13 12:37:06 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13347

           Summary: XMLDom node attributes case is being overridden to lower
                    case???
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://www.mlb.com/fantasy/bts/index.jsp
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: st777 at msn.com


I have develloped a JavaScript component that converts XMLDom (AJAX) document
into an equivalent JavaScript Object, preserving both node and attribute names.
Recently I was trying to fix a site that utilizes this component and is working
on every other browser except Safari. What I have discovered shocked me. It
turns out that when i'm iterating through XMLNodeAttributes collection all the
attribute names are returned in lower case thus overriding what was initialy
set in XML. Since I use case sensative way to access attribute values in
JavaScript Object, those attributes that had both caps and lower case become
inaccessible and logic breaks.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list