| OLD | NEW |
| 1 /* | 1 /* |
| 2 * valid.c : part of the code use to do the DTD handling and the validity | 2 * valid.c : part of the code use to do the DTD handling and the validity |
| 3 * checking | 3 * checking |
| 4 * | 4 * |
| 5 * See Copyright for the status of this software. | 5 * See Copyright for the status of this software. |
| 6 * | 6 * |
| 7 * daniel@veillard.com | 7 * daniel@veillard.com |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 #define IN_LIBXML | 10 #define IN_LIBXML |
| (...skipping 2514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2525 | 2525 |
| 2526 /************************************************************************ | 2526 /************************************************************************ |
| 2527 * * | 2527 * * |
| 2528 * IDs * | 2528 * IDs * |
| 2529 * * | 2529 * * |
| 2530 ************************************************************************/ | 2530 ************************************************************************/ |
| 2531 /** | 2531 /** |
| 2532 * DICT_FREE: | 2532 * DICT_FREE: |
| 2533 * @str: a string | 2533 * @str: a string |
| 2534 * | 2534 * |
| 2535 * Free a string if it is not owned by the "dict" dictionnary in the | 2535 * Free a string if it is not owned by the "dict" dictionary in the |
| 2536 * current scope | 2536 * current scope |
| 2537 */ | 2537 */ |
| 2538 #define DICT_FREE(str) \ | 2538 #define DICT_FREE(str) \ |
| 2539 if ((str) && ((!dict) || \ | 2539 if ((str) && ((!dict) || \ |
| 2540 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \ | 2540 (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \ |
| 2541 xmlFree((char *)(str)); | 2541 xmlFree((char *)(str)); |
| 2542 | 2542 |
| 2543 /** | 2543 /** |
| 2544 * xmlFreeID: | 2544 * xmlFreeID: |
| 2545 * @not: A id | 2545 * @not: A id |
| (...skipping 4499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7045 */ | 7045 */ |
| 7046 test_node->name = name; | 7046 test_node->name = name; |
| 7047 xmlFreeNode(test_node); | 7047 xmlFreeNode(test_node); |
| 7048 | 7048 |
| 7049 return(nb_valid_elements); | 7049 return(nb_valid_elements); |
| 7050 } | 7050 } |
| 7051 #endif /* LIBXML_VALID_ENABLED */ | 7051 #endif /* LIBXML_VALID_ENABLED */ |
| 7052 | 7052 |
| 7053 #define bottom_valid | 7053 #define bottom_valid |
| 7054 #include "elfgcchack.h" | 7054 #include "elfgcchack.h" |
| OLD | NEW |