mirror of
https://github.com/GNOME/libxml2.git
synced 2025-10-14 02:58:39 +08:00
debug: Remove obsolete handling of special case
The "nbktext" code was removed.
This commit is contained in:
@@ -338,12 +338,6 @@ xmlCtxtGenericNodeCheck(xmlDebugCtxtPtr ctxt, xmlNodePtr node) {
|
||||
if ((node->name == xmlStringText) ||
|
||||
(node->name == xmlStringTextNoenc))
|
||||
break;
|
||||
/* some case of entity substitution can lead to this */
|
||||
if ((ctxt->dict != NULL) &&
|
||||
(node->name == xmlDictLookup(ctxt->dict, BAD_CAST "nbktext",
|
||||
7)))
|
||||
break;
|
||||
|
||||
xmlDebugErr3(ctxt, XML_CHECK_WRONG_NAME,
|
||||
"Text node has wrong name '%s'",
|
||||
(const char *) node->name);
|
||||
|
Reference in New Issue
Block a user