summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorJared Yanovich <jaredyanovich@gmail.com>2019-09-30 17:04:54 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2019-09-30 18:04:38 +0200
commit2a350ee9b47ad4cf251f94444073785619c31c77 (patch)
tree1aebebbfcfc6ecfc3912261df274b820998b9fba /entities.c
parent80b110a95da9deac24029b010ecc4f71cee226e9 (diff)
downloadlibxml2-2a350ee9b47ad4cf251f94444073785619c31c77.tar.gz
Large batch of typo fixes
Closes #109.
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/entities.c b/entities.c
index 43549bc5..d575e9d1 100644
--- a/entities.c
+++ b/entities.c
@@ -148,7 +148,7 @@ xmlFreeEntity(xmlEntityPtr entity)
/*
* xmlCreateEntity:
*
- * internal routine doing the entity node strutures allocations
+ * internal routine doing the entity node structures allocations
*/
static xmlEntityPtr
xmlCreateEntity(xmlDictPtr dict, const xmlChar *name, int type,
@@ -398,7 +398,7 @@ xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type,
*
* Create a new entity, this differs from xmlAddDocEntity() that if
* the document is NULL or has no internal subset defined, then an
- * unlinked entity structure will be returned, it is then the responsability
+ * unlinked entity structure will be returned, it is then the responsibility
* of the caller to link it to the document later or free it when not needed
* anymore.
*
@@ -548,7 +548,7 @@ xmlGetDocEntity(const xmlDoc *doc, const xmlChar *name) {
* xmlEncodeEntitiesInternal:
* @doc: the document containing the string
* @input: A string to convert to XML.
- * @attr: are we handling an atrbute value
+ * @attr: are we handling an attribute value
*
* Do a global encoding of a string, replacing the predefined entities
* and non ASCII values with their entities and CharRef counterparts.