mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
when creating a DOCTYPE use "html" lowercase by default instead of "HTML"
* HTMLparser.c: when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * parser.c xmlreader.c: optimization, gain a few % parsing speed by avoiding calls to "areBlanks" when not needed. * include/libxml/parser.h include/libxml/tree.h: some structure extensions for future work on using per-document dictionaries. Daniel
This commit is contained in:
@@ -476,6 +476,7 @@ struct _xmlNode {
|
||||
#define XML_GET_LINE(n) \
|
||||
((n)->type == XML_ELEMENT_NODE ? (int) (n)->content : 0)
|
||||
|
||||
|
||||
/**
|
||||
* xmlDoc:
|
||||
*
|
||||
@@ -507,6 +508,7 @@ struct _xmlDoc {
|
||||
const xmlChar *URL; /* The URI for that document */
|
||||
int charset; /* encoding of the in-memory content
|
||||
actually an xmlCharEncoding */
|
||||
struct _xmlDict *dict; /* dict used to allocate names or NULL */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user