mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03: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) ||
|
if ((node->name == xmlStringText) ||
|
||||||
(node->name == xmlStringTextNoenc))
|
(node->name == xmlStringTextNoenc))
|
||||||
break;
|
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,
|
xmlDebugErr3(ctxt, XML_CHECK_WRONG_NAME,
|
||||||
"Text node has wrong name '%s'",
|
"Text node has wrong name '%s'",
|
||||||
(const char *) node->name);
|
(const char *) node->name);
|
||||||
|
Reference in New Issue
Block a user