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
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index 9c1fda8..9a236a4 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -476,6 +476,7 @@
#define XML_GET_LINE(n) \
((n)->type == XML_ELEMENT_NODE ? (int) (n)->content : 0)
+
/**
* xmlDoc:
*
@@ -507,6 +508,7 @@
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 */
};
/**