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 */
/* 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 {
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;
-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);