+2006-12-13 Helge Hess <helge.hess@opengroupware.org>
+
+ * Templates/WOHTMLParser.m: fixed a bug with lowercase NAME tags in
+ wrapper templates (v4.5.259)
+
2006-11-23 Wolfgang Sourdeau <WSourdeau@Inverse.CA>
* NGHttp: added DeltaV HTTP methods (v4.5.258)
_skipSpaces(_buffer, _idx, _len);
if (*_idx >= _len) break; // EOF
- // read key
+ /* read tag key (eg NAME) */
key = _parseStringValue(_zone, _buffer, _idx, _len, _exception, self);
- if (key == nil) // ended
+ if (key == nil) // EOF
break;
+ /* fixup NAME attribute, the only one where case matters */
+
+ if ([key length] == 4) {
+ if ([@"name" caseInsensitiveCompare:key] == NSOrderedSame) {
+ [key release];
+ key = @"NAME";
+ }
+ }
+
/* The following parses: space* '=' space* */
_skipSpaces(_buffer, _idx, _len);