Differences From Artifact [e7da32bd09]:
- File src/OFXMLParser.m — part of check-in [af7e24f9ab] at 2014-02-10 19:29:00 on branch trunk — Move OFBigDataArray out to its own files (user: js, size: 24349) [annotate] [blame] [check-ins using]
To Artifact [75261e507a]:
- File
src/OFXMLParser.m
— part of check-in
[68d32a92c1]
at
2014-06-16 15:06:26
on branch trunk
— Make return type of -[OFArray objects] const
After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (user: js, size: 24361) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
95 96 97 98 99 100 101 | return ret; } static OFString* namespaceForPrefix(OFString *prefix, OFArray *namespaces) { | | | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | return ret; } static OFString* namespaceForPrefix(OFString *prefix, OFArray *namespaces) { OFDictionary *const *objects = [namespaces objects]; ssize_t i; if (prefix == nil) prefix = @""; for (i = [namespaces count] - 1; i >= 0; i--) { OFString *tmp; |
︙ | ︙ | |||
696 697 698 699 700 701 702 | } /* Inside a tag, name found */ - (void)OF_inTagState { void *pool; OFString *namespace; | | | 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 | } /* Inside a tag, name found */ - (void)OF_inTagState { void *pool; OFString *namespace; OFXMLAttribute *const *attributesObjects; size_t j, attributesCount; if (_data[_i] != '>' && _data[_i] != '/') { if (_data[_i] != ' ' && _data[_i] != '\t' && _data[_i] != '\n' && _data[_i] != '\r') { _last = _i; _state = OF_XMLPARSER_IN_ATTRIBUTE_NAME; |
︙ | ︙ |