From kfm-devel Sun Feb 01 17:39:17 2004 From: Shift Date: Sun, 01 Feb 2004 17:39:17 +0000 To: kfm-devel Subject: DOM::Document::getElementsByTagName bug ? Message-Id: <200402011839.19289.shift () free ! fr> X-MARC-Message: https://marc.info/?l=kfm-devel&m=107565702401523 Hi, I have few questions about "NodeList DOM::Document::getElementsByTagName (const DOMString & tagname)". Is case important for this function ? Few days ago when I used getElementsByTagName ("LINK") in http://bugs.kde.org/show_bug.cgi?id=57803 I retrieved 8 elements and now 0. So I decided to use getElementsByTagName ("link") an then I retrieved 8 elements. Same test by modifying the HTML source and using "LINK" instead of "link", same results. So my questions are : Should the argument of getElementsByTagName always in lowercase ? Is it a DOM specification ? (When I look at the DOM specifications http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html I can't find an answer) Is it a bug ? Thanks, Franck