- From: Bob Foster <bob.foster@webgain.com>
- Date: Mon, 30 Jul 2001 02:40:12 -0500
- To: <www-dom@w3.org>
From: "David Flanagan" <david@oreilly.com> > As far as I know, the getElementsByTagName() method of the Document and > Element interfaces does not care what capitalization you use when you > specify the tag name: it does a case-insensitive compare, or normalizes > the tag names to all uppercase or all lowercase or something. > > However, I cannot find where the spec actually says this. Am I > missing it somewhere, or does the spec need to be clarified, or am > I just wrong about the behavior of this method. I'm kind of hoping you are wrong. XML is case-sensitive. The elements <a> and <A> are not the same and I don't know why one would want them returned in the same list. Bob Foster WebGain > David Flanagan
Received on Monday, 30 July 2001 03:42:37 UTC