Hi, Just a comment to add to this discussion... I don't think the DOM spec requires case insensitive compares of strings, but it would be nice if there were a way of doing case insensitive compares without having to do a translation to a char * (using transcode) and then doing a strcmpi on the strings.
It looks like the DOMString::equals method is case sensitive. Can I make a request for a case-insensitive version of this method such as DOMString::equalsi? Regards, Mike Krause Hewlett-Packard Company -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2000 11:35 AM To: [EMAIL PROTECTED] Subject: Re: Bug in Element.getAttribute()? Are you saying you think that the *spec* says it shouldn't be case sensitive or that you don't think it should? If the spec says it shouldn't then clearly it shouldn't. But, otherwise XML is pretty much completely case sensitive and I wouldn't see any reason why this particular API should be any different. ---------------------------------------- Dean Roddey Software Weenie IBM Center for Java Technology - Silicon Valley [EMAIL PROTECTED] Bruno Stuessi <[EMAIL PROTECTED]> on 02/09/2000 06:44:28 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Bug in Element.getAttribute()? Element.getAttribute(String name) in Xerces 1.0.1 requires that name is provided case-sensitive ie as it it saved in th e XML file, but I think that the implementation should be NOT case-sensitive!
