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 type;
char *name;
struct xml_dtd_elem_node *node;
+ slist attrs;
void *user; /* User-defined */
};
};
struct xml_dtd_attr {
+ snode n;
char *name; /* Attribute name */
struct xml_dtd_elem *elem; /* Owner element */
uns type; /* See enum xml_dtd_attr_type */