- From: Curt Arnold <carnold@houston.rr.com>
- Date: Tue, 12 Mar 2002 20:45:50 -0600
- To: <www-dom-ts@w3.org>
- Cc: "Sivakiran Tummala" <stummala@netscape.com>
> I was under the impression that "auto" will not check for the case. That would be ignoreCase="true". > I have the following questions regarding usage of "auto" > 1. Will the usage of "auto" returns the value in uppercase or is it just the > first character of the return value that is capitalized. > 2. What is the scenerio where the return value has to be in uppercase. ignoreCase="auto" is for (http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-5353782642) The HTML case insensitivity is also reflected in the DOM HTML API's in some ways, for instance, element and attribute names are exposed as all upper case (for consistency) when used on an HTML document, regardless of the character case used in the markup. ignoreCase="false" --> assertTrue(expected.equals(actual)) ignoreCase="true" --> assertTrue(expected.equalsIgnoreCase(actual)) ignoreCase="auto" (for HTML) --> assertTrue(expected.toUpperCase().equals(actual)) (for everything else) --> assertTrue(expected.equals(actual)) > > > I will change the testcases so that ignorecase will be false and will use CVS > from next time on to add testcases. I need anyone of your help in setting up the > CVS account to be able to do checkin's I'd be in favor of having you granted commit rights to the CVS repository. However, Dimitridas would have to request that of the W3C support staff. You might want to email Dimitriadis a RSA public key.
Received on Tuesday, 12 March 2002 21:46:18 UTC