(message: string, i: number)
| 1970 | // A DTD can declare a prefix with a default attribute value, which is not |
| 1971 | // applied, so an undeclared prefix is a `Syntax` error only without a DOCTYPE |
| 1972 | private undeclared(message: string, i: number): XmlError { |
| 1973 | return this.doctype ? |
| 1974 | this.error("Unsupported", `${message} (namespaces declared in a DTD are not applied)`, this.base + i) : |
| 1975 | this.syntax(message, i) |
| 1976 | } |
| 1977 | |
| 1978 | private attributeValue(s: string, i: number, j: number): string { |
| 1979 | let reference = false |