diff --git a/include/libxml/valid.h b/include/libxml/valid.h index b7d38a6e0..2b8b8fb15 100644 --- a/include/libxml/valid.h +++ b/include/libxml/valid.h @@ -107,7 +107,6 @@ typedef struct _xmlHashTable xmlRefTable; typedef xmlRefTable *xmlRefTablePtr; /* Notation */ -XML_DEPRECATED XMLPUBFUN xmlNotation * xmlAddNotationDecl (xmlValidCtxt *ctxt, xmlDtd *dtd, @@ -170,7 +169,6 @@ XMLPUBFUN void #endif /* LIBXML_OUTPUT_ENABLED */ /* Element */ -XML_DEPRECATED XMLPUBFUN xmlElement * xmlAddElementDecl (xmlValidCtxt *ctxt, xmlDtd *dtd, @@ -206,7 +204,6 @@ XMLPUBFUN xmlEnumeration * xmlCopyEnumeration (xmlEnumeration *cur); /* Attribute */ -XML_DEPRECATED XMLPUBFUN xmlAttribute * xmlAddAttributeDecl (xmlValidCtxt *ctxt, xmlDtd *dtd, diff --git a/valid.c b/valid.c index 17cf11374..30a29d715 100644 --- a/valid.c +++ b/valid.c @@ -1092,9 +1092,7 @@ xmlFreeElement(xmlElementPtr elem) { /** * Register a new element declaration. * - * @deprecated Internal function, don't use. - * - * @param ctxt the validation context + * @param ctxt the validation context (optional) * @param dtd pointer to the DTD * @param name the entity name * @param type the element type @@ -1555,9 +1553,7 @@ xmlFreeAttribute(xmlAttributePtr attr) { /** * Register a new attribute declaration. * - * @deprecated Internal function, don't use. - * - * @param ctxt the validation context + * @param ctxt the validation context (optional) * @param dtd pointer to the DTD * @param elem the element name * @param name the attribute name @@ -1918,10 +1914,8 @@ xmlFreeNotation(xmlNotationPtr nota) { /** * Register a new notation declaration. * - * @deprecated Internal function, don't use. - * + * @param ctxt the validation context (optional) * @param dtd pointer to the DTD - * @param ctxt the validation context * @param name the entity name * @param publicId the public identifier or NULL * @param systemId the system identifier or NULL