| OLD | NEW |
| 1 /** | 1 /** |
| 2 * catalog.c: set of generic Catalog related routines | 2 * catalog.c: set of generic Catalog related routines |
| 3 * | 3 * |
| 4 * Reference: SGML Open Technical Resolution TR9401:1997. | 4 * Reference: SGML Open Technical Resolution TR9401:1997. |
| 5 * http://www.jclark.com/sp/catalog.htm | 5 * http://www.jclark.com/sp/catalog.htm |
| 6 * | 6 * |
| 7 * XML Catalogs Working Draft 06 August 2001 | 7 * XML Catalogs Working Draft 06 August 2001 |
| 8 * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html | 8 * http://www.oasis-open.org/committees/entity/spec-2001-08-06.html |
| 9 * | 9 * |
| 10 * See Copyright for the status of this software. | 10 * See Copyright for the status of this software. |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 231 |
| 232 /** | 232 /** |
| 233 * xmlCatalogErr: | 233 * xmlCatalogErr: |
| 234 * @catal: the Catalog entry | 234 * @catal: the Catalog entry |
| 235 * @node: the context node | 235 * @node: the context node |
| 236 * @msg: the error message | 236 * @msg: the error message |
| 237 * @extra: extra informations | 237 * @extra: extra informations |
| 238 * | 238 * |
| 239 * Handle a catalog error | 239 * Handle a catalog error |
| 240 */ | 240 */ |
| 241 static void | 241 static void LIBXML_ATTR_FORMAT(4,0) |
| 242 xmlCatalogErr(xmlCatalogEntryPtr catal, xmlNodePtr node, int error, | 242 xmlCatalogErr(xmlCatalogEntryPtr catal, xmlNodePtr node, int error, |
| 243 const char *msg, const xmlChar *str1, const xmlChar *str2, | 243 const char *msg, const xmlChar *str1, const xmlChar *str2, |
| 244 const xmlChar *str3) | 244 const xmlChar *str3) |
| 245 { | 245 { |
| 246 __xmlRaiseError(NULL, NULL, NULL, catal, node, XML_FROM_CATALOG, | 246 __xmlRaiseError(NULL, NULL, NULL, catal, node, XML_FROM_CATALOG, |
| 247 error, XML_ERR_ERROR, NULL, 0, | 247 error, XML_ERR_ERROR, NULL, 0, |
| 248 (const char *) str1, (const char *) str2, | 248 (const char *) str1, (const char *) str2, |
| 249 (const char *) str3, 0, 0, | 249 (const char *) str3, 0, 0, |
| 250 msg, str1, str2, str3); | 250 msg, str1, str2, str3); |
| 251 } | 251 } |
| (...skipping 3564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3816 } | 3816 } |
| 3817 | 3817 |
| 3818 if (xmlDefaultCatalog != NULL) | 3818 if (xmlDefaultCatalog != NULL) |
| 3819 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID)); | 3819 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID)); |
| 3820 return(NULL); | 3820 return(NULL); |
| 3821 } | 3821 } |
| 3822 | 3822 |
| 3823 #define bottom_catalog | 3823 #define bottom_catalog |
| 3824 #include "elfgcchack.h" | 3824 #include "elfgcchack.h" |
| 3825 #endif /* LIBXML_CATALOG_ENABLED */ | 3825 #endif /* LIBXML_CATALOG_ENABLED */ |
| OLD | NEW |