Overview
| Comment: | Fix bug in decoding of lowercase «. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1882b31eec98bc405abd017c4d6aff1d |
| User & Date: | js on 2009-10-06 12:29:28 |
| Other Links: | manifest | tags |
Context
|
2009-10-06
| ||
| 13:02 | Add -[(hexa)decimalValueAsInteger] to OFString. (check-in: 4d0bccf77c user: js tags: trunk) | |
| 12:29 | Fix bug in decoding of lowercase «. (check-in: 1882b31eec user: js tags: trunk) | |
|
2009-10-05
| ||
| 18:56 | Rename OFArray's and OFDataArray's -[data] to -[cArray]. (check-in: 2f1933eb24 user: js tags: trunk) | |
Changes
Modified src/OFXMLParser.m from [adee3ee3bc] to [48540ae306].
| ︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - + |
for (i = 0; i < length; i++) {
if (entity[i] >= '0' && entity[i] <= '9')
c = (c << 4) + (entity[i] - '0');
else if (entity[i] >= 'A' && entity[i] <= 'F')
c = (c << 4) + (entity[i] - 'A' + 10);
else if (entity[i] >= 'a' && entity[i] <= 'f')
|
| ︙ |
Modified tests/string.m from [72abea7542] to [6af7481004].
| ︙ | |||
254 255 256 257 258 259 260 | 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | - + | TEST(@"-[stringByXMLEscaping]", (s[0] = [@"<hello> &world'\"!&" stringByXMLEscaping]) && [s[0] isEqual: @"<hello> &world'"!&"]) TEST(@"-[stringByXMLUnescaping]", [[s[0] stringByXMLUnescaping] isEqual: @"<hello> &world'\"!&"] && [[@"y" stringByXMLUnescaping] isEqual: @"y"] && |
| ︙ |