Overview
Comment: | OFXMLComment: Add a property for the text |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f7713f3033f0c2aa2c0a7e545c2d0a06 |
User & Date: | js on 2021-04-08 19:30:19 |
Other Links: | manifest | tags |
Context
2021-04-09
| ||
01:28 | Split XML processing instructions into target/data check-in: d4b3f8ea70 user: js tags: trunk | |
2021-04-08
| ||
19:30 | OFXMLComment: Add a property for the text check-in: f7713f3033 user: js tags: trunk | |
17:27 | src/Makefile: Indentation fix check-in: bc662af57b user: js tags: trunk | |
Changes
Modified src/OFXMLComment.h from [bf4f3dc402] to [48d39c6a70].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | - + + + + + + - + - + - + - + - + - + | /** * @class OFXMLComment OFXMLComment.h ObjFW/OFXMLComment.h * * @brief A class for representing XML comments. */ @interface OFXMLComment: OFXMLNode { |
Modified src/OFXMLComment.m from [5cb4fa05d6] to [ba703cfd99].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | + + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + | #import "OFXMLNode+Private.h" #import "OFString.h" #import "OFXMLElement.h" #import "OFInvalidArgumentException.h" @implementation OFXMLComment @synthesize text = _text; |
Modified src/OFXMLElementBuilder.m from [032a141300] to [07f6f7fa7b].
︙ | |||
150 151 152 153 154 155 156 | 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | - + | @selector(elementBuilder:didBuildParentlessNode:)]) [_delegate elementBuilder: self didBuildParentlessNode: node]; } - (void)parser: (OFXMLParser *)parser foundComment: (OFString *)comment { |
︙ |
Modified tests/OFXMLNodeTests.m from [bd9f707bbe] to [c231b8bd5e].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - - + + | (nodes[3] = [OFXMLCharacters charactersWithString: @"<foo>"]) && [[nodes[3] XMLString] isEqual: @"<foo>"]) TEST(@"+[CDATAWithString:]", (nodes[3] = [OFXMLCDATA CDATAWithString: @"<foo>"]) && [[nodes[3] XMLString] isEqual: @"<![CDATA[<foo>]]>"]); |
︙ |