]> mj.ucw.cz Git - libucw.git/commitdiff
Fixed a couple of typos.
authorMartin Mares <mj@ucw.cz>
Sun, 20 Jan 2008 23:11:37 +0000 (00:11 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 20 Jan 2008 23:11:37 +0000 (00:11 +0100)
sherlock/xml/dtd.h
sherlock/xml/parse.c
sherlock/xml/xml-test.c

index ba57ee35221b14932868c226c3516f13d6768662..c031d348df84c96f9664fac0c5881c519a04e9f2 100644 (file)
@@ -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 {
index 572b6b96b77a0136d6a4259a6569e7b51232080c..ef957bc6911632bb4553e63b8ca4f3cb4955255e 100644 (file)
@@ -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;
index 2674bc8cd63ad6ea8adab42c1486cdec0feff80c..972a339b86f0500d84b417d6139548ad821039d3 100644 (file)
@@ -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);