From 7ff16aadb50619ba67d2fe3fa0b7a958b86c3162 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 21 Jan 2008 00:11:37 +0100 Subject: [PATCH] Fixed a couple of typos. --- sherlock/xml/dtd.h | 4 ++-- sherlock/xml/parse.c | 2 +- sherlock/xml/xml-test.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sherlock/xml/dtd.h b/sherlock/xml/dtd.h index ba57ee35..c031d348 100644 --- a/sherlock/xml/dtd.h +++ b/sherlock/xml/dtd.h @@ -15,7 +15,7 @@ struct xml_dtd { struct mempool *pool; /* Memory pool where to allocate DTD */ slist ents; /* Link list of general entities */ - slist pents; /* Link list of parapeter entities */ + slist pents; /* Link list of parameter entities */ slist notns; /* Link list of notations */ slist elems; /* Link list of elements */ void *tab_ents; /* Hash table of general entities */ @@ -31,7 +31,7 @@ struct xml_dtd { /* Notations */ enum xml_dtd_notn_flags { - XML_DTD_NOTN_DECLARED = 0x1, /* The notation has been declared (interbal usage) */ + XML_DTD_NOTN_DECLARED = 0x1, /* The notation has been declared (internal usage) */ }; struct xml_dtd_notn { diff --git a/sherlock/xml/parse.c b/sherlock/xml/parse.c index 572b6b96..ef957bc6 100644 --- a/sherlock/xml/parse.c +++ b/sherlock/xml/parse.c @@ -1111,7 +1111,7 @@ epilog: uns xml_parse(struct xml_context *ctx) { - /* This cycle shoud run only once unless the user overrides the value of ctx->pull in a SAX handler */ + /* This cycle should run only once unless the user overrides the value of ctx->pull in a SAX handler */ do { ctx->pull = 0; diff --git a/sherlock/xml/xml-test.c b/sherlock/xml/xml-test.c index 2674bc8c..972a339b 100644 --- a/sherlock/xml/xml-test.c +++ b/sherlock/xml/xml-test.c @@ -55,8 +55,8 @@ CF_USAGE -t, --dom Test DOM interface\n\ -d, --dtd Enable parsing of DTD\n\ --hide-errors Hide warnings and error messages\n\ - --ignore-comments Ignore processing instructions\n\ - --ignore-pis Ignore comments\n\ + --ignore-comments Ignore comments\n\ + --ignore-pis Ignore processing instructions\n\ --report-blocks Report blocks or characters and CDATA sections\n\ --file-entities Resolve file external entities (not fully normative)\n\ \n", stderr); -- 2.39.2