()
| 211 | } |
| 212 | |
| 213 | private readName(): string { |
| 214 | const startIndex = this.index; |
| 215 | while (this.index < this.xml.length && isXmlNameChar(this.xml[this.index])) { |
| 216 | this.index += 1; |
| 217 | } |
| 218 | return this.xml.slice(startIndex, this.index); |
| 219 | } |
| 220 | |
| 221 | private readRequiredName(errorMessage: string): string { |
| 222 | const name = this.readName(); |
no test coverage detected