()
| 178 | } |
| 179 | |
| 180 | private readText(): void { |
| 181 | const nextTagIndex = this.xml.indexOf('<', this.index); |
| 182 | const endIndex = nextTagIndex === -1 ? this.xml.length : nextTagIndex; |
| 183 | this.appendText(this.xml.slice(this.index, endIndex), true); |
| 184 | this.index = endIndex; |
| 185 | } |
| 186 | |
| 187 | private readCdata(): void { |
| 188 | const startIndex = this.index + '<![CDATA['.length; |
no test coverage detected