* xmlCleanSpecialAttrCallback: * * Removes CDATA attributes from the special attribute table */
| 1204 | * Removes CDATA attributes from the special attribute table |
| 1205 | */ |
| 1206 | static void |
| 1207 | xmlCleanSpecialAttrCallback(void *payload, void *data, |
| 1208 | const xmlChar *fullname, const xmlChar *fullattr, |
| 1209 | const xmlChar *unused ATTRIBUTE_UNUSED) { |
| 1210 | xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) data; |
| 1211 | |
| 1212 | if (((ptrdiff_t) payload) == XML_ATTRIBUTE_CDATA) { |
| 1213 | xmlHashRemoveEntry2(ctxt->attsSpecial, fullname, fullattr, NULL); |
| 1214 | } |
| 1215 | } |
| 1216 | |
| 1217 | /** |
| 1218 | * xmlCleanSpecialAttr: |
nothing calls this directly
no test coverage detected