summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-12-31 16:16:02 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-12-31 16:16:02 +0000
commitcbaf399537a1fb69ef97b079e4cb553869aaa4d9 (patch)
tree05c7802f8e0c366451d19a827cb7d4186d31825c /entities.c
parent7f9a6806ed3d37063e159b257aec029ffda1e1af (diff)
downloadlibxml2-cbaf399537a1fb69ef97b079e4cb553869aaa4d9.tar.gz
applied 42 documentation patches from Charlie Bozeman. Regenerated the
* *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/entities.c b/entities.c
index 05c525c1..4cef5d24 100644
--- a/entities.c
+++ b/entities.c
@@ -1,5 +1,5 @@
/*
- * entities.c : implementation for the XML entities handking
+ * entities.c : implementation for the XML entities handling
*
* See Copyright for the status of this software.
*
@@ -185,7 +185,7 @@ void xmlCleanupPredefinedEntities(void) {
*
* Check whether this name is an predefined entity.
*
- * Returns NULL if not, othervise the entity
+ * Returns NULL if not, otherwise the entity
*/
xmlEntityPtr
xmlGetPredefinedEntity(const xmlChar *name) {
@@ -229,7 +229,7 @@ xmlAddDtdEntity(xmlDocPtr doc, const xmlChar *name, int type,
if (ret == NULL) return(NULL);
/*
- * Link it to the Dtd
+ * Link it to the DTD
*/
ret->parent = dtd;
ret->doc = dtd->doc;
@@ -270,7 +270,7 @@ xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type,
}
if (doc->intSubset == NULL) {
xmlGenericError(xmlGenericErrorContext,
- "xmlAddDtdEntity: document without internal subset !\n");
+ "xmlAddDocEntity: document without internal subset !\n");
return(NULL);
}
dtd = doc->intSubset;
@@ -278,7 +278,7 @@ xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type,
if (ret == NULL) return(NULL);
/*
- * Link it to the Dtd
+ * Link it to the DTD
*/
ret->parent = dtd;
ret->doc = dtd->doc;
@@ -341,7 +341,7 @@ xmlGetParameterEntity(xmlDocPtr doc, const xmlChar *name) {
* @doc: the document referencing the entity
* @name: the entity name
*
- * Do an entity lookup in the Dtd entity hash table and
+ * Do an entity lookup in the DTD entity hash table and
* returns the corresponding entity, if found.
*
* Returns A pointer to the entity structure or NULL if not found.
@@ -363,7 +363,7 @@ xmlGetDtdEntity(xmlDocPtr doc, const xmlChar *name) {
* @name: the entity name
*
* Do an entity lookup in the document entity hash table and
- * returns the corrsponding entity, otherwise a lookup is done
+ * returns the corresponding entity, otherwise a lookup is done
* in the predefined entities too.
*
* Returns A pointer to the entity structure or NULL if not found.
@@ -975,7 +975,7 @@ xmlDumpEntityDecl(xmlBufferPtr buf, xmlEntityPtr ent) {
break;
default:
xmlGenericError(xmlGenericErrorContext,
- "xmlDumpEntitiesTable: internal: unknown type %d\n",
+ "xmlDumpEntitiesDecl: internal: unknown type %d\n",
ent->etype);
}
}