Overview
Comment: | OFXMLParser: Allow processing instructions after the document. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2d7725aa275f705f6b2529ac22840f82 |
User & Date: | js on 2011-04-09 15:43:51 |
Other Links: | manifest | tags |
Context
2011-04-09
| ||
20:05 | Parse XML processing instructions. check-in: bf45e02951 user: js tags: trunk | |
15:43 | OFXMLParser: Allow processing instructions after the document. check-in: 2d7725aa27 user: js tags: trunk | |
15:41 | OFXMLParser: Don't allow character data before the document. check-in: 0cc997a1d7 user: js tags: trunk | |
Changes
Modified src/OFXMLParser.m from [3ea5992642] to [1c1c18bcbe].
︙ | ︙ | |||
316 317 318 319 320 321 322 | } /* Tag was just opened */ - (void)_parseTagOpenedWithBuffer: (const char*)buf i: (size_t*)i last: (size_t*)last { | | | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | } /* Tag was just opened */ - (void)_parseTagOpenedWithBuffer: (const char*)buf i: (size_t*)i last: (size_t*)last { if (finishedParsing && buf[*i] != '!' && buf[*i] != '?') @throw [OFMalformedXMLException newWithClass: isa parser: self]; switch (buf[*i]) { case '?': *last = *i + 1; state = OF_XMLPARSER_IN_PROCESSING_INSTRUCTIONS; |
︙ | ︙ |