aboutsummaryrefslogtreecommitdiffstats
path: root/parserInternals.c
diff options
context:
space:
mode:
Diffstat (limited to 'parserInternals.c')
-rw-r--r--parserInternals.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/parserInternals.c b/parserInternals.c
index 0f015ded..d849c08b 100644
--- a/parserInternals.c
+++ b/parserInternals.c
@@ -105,7 +105,7 @@ xmlCheckVersion(int version) {
/**
* xmlErrMemory:
* @ctxt: an XML parser context
- * @extra: extra informations
+ * @extra: extra information
*
* Handle a redefinition of attribute error
*/
@@ -165,7 +165,7 @@ __xmlErrEncoding(xmlParserCtxtPtr ctxt, xmlParserErrors xmlerr,
* xmlErrInternal:
* @ctxt: an XML parser context
* @msg: the error message
- * @str: error informations
+ * @str: error information
*
* Handle an internal error
*/
@@ -703,7 +703,7 @@ encoding_error:
/*
* An encoding problem may arise from a truncated input buffer
* splitting a character in the middle. In that case do not raise
- * an error but return 0 to endicate an end of stream problem
+ * an error but return 0 to indicate an end of stream problem
*/
if (ctxt->input->end - ctxt->input->cur < 4) {
*len = 0;
@@ -816,7 +816,7 @@ encoding_error:
/*
* An encoding problem may arise from a truncated input buffer
* splitting a character in the middle. In that case do not raise
- * an error but return 0 to endicate an end of stream problem
+ * an error but return 0 to indicate an end of stream problem
*/
if ((ctxt == NULL) || (ctxt->input == NULL) ||
(ctxt->input->end - ctxt->input->cur < 4)) {
@@ -1093,7 +1093,7 @@ xmlSwitchEncoding(xmlParserCtxtPtr ctxt, xmlCharEncoding enc)
}
}
/*
- * TODO: We could recover from errors in external entites if we
+ * TODO: We could recover from errors in external entities if we
* didn't stop the parser. But most callers of this function don't
* check the return value.
*/
@@ -1138,7 +1138,7 @@ xmlSwitchInputEncodingInt(xmlParserCtxtPtr ctxt, xmlParserInputPtr input,
if (input->buf != NULL) {
if (input->buf->encoder != NULL) {
/*
- * Check in case the auto encoding detetection triggered
+ * Check in case the auto encoding detection triggered
* in already.
*/
if (input->buf->encoder == handler)
@@ -1877,7 +1877,7 @@ xmlNewParserCtxt(void)
/************************************************************************
* *
- * Handling of node informations *
+ * Handling of node information *
* *
************************************************************************/