diff --git a/include/libxml/xlink.h b/include/libxml/xlink.h index 11c4fc293..f862809fb 100644 --- a/include/libxml/xlink.h +++ b/include/libxml/xlink.h @@ -3,7 +3,7 @@ * * @brief unfinished XLink detection module * - * unfinished XLink detection module + * This module is deprecated, don't use. * * @copyright See Copyright for the status of this software. * @@ -179,6 +179,7 @@ XMLPUBFUN void /* * Link detection module itself. */ +XML_DEPRECATED XMLPUBFUN xlinkType xlinkIsLink (xmlDocPtr doc, xmlNodePtr node); diff --git a/xlink.c b/xlink.c index b42ab490e..2126eee5a 100644 --- a/xlink.c +++ b/xlink.c @@ -93,6 +93,8 @@ xlinkSetDefaultDetect (xlinkNodeDetectFunc func) { * @param doc the document containing the node * @param node the node pointer itself * + * @deprecated The XLink code was never finished. + * * Check whether the given node carries the attributes needed * to be a link element (or is one of the linking elements issued * from the (X)HTML DtDs).