| 136 | } |
| 137 | |
| 138 | void endNamespace(const XML_Char*) noexcept { |
| 139 | if (namespace_depth_ > 0) { |
| 140 | --namespace_depth_; |
| 141 | } else { |
| 142 | setError("Negative depth"); |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | void startDTD(const XML_Char*, const XML_Char*, const XML_Char*, int) noexcept { |
| 147 | // DOCTYPE is used for XXE attacks. |