- added xmlRemoveProp
- changed the way Windows socket stuff get included
- removed an indetermination xmLDecl/PI(xml...)
- xmlNewNs wasn't checking for double definition
- fixed a problem with dist-hook duplicates
- fixed the loading of external entities APIs, now xmlLoadExternalEntity()
is used everywhere
- now the xhtml spec validates with the xhtml DTD.
- error.c: fixed crashes in case of no input stream
- added the xhtml spec and dtds to the validation tests and results
Daniel
diff --git a/parser.h b/parser.h
index 196aeb3..938ea8c 100644
--- a/parser.h
+++ b/parser.h
@@ -50,10 +50,6 @@
} xmlParserInput;
typedef xmlParserInput *xmlParserInputPtr;
-typedef xmlParserInputPtr (*xmlExternalEntityLoader)(const char *URL,
- const char *ID,
- xmlParserInputPtr context);
-
/**
* the parser can be asked to collect Node informations, i.e. at what
* place in the file they were detected.
@@ -256,6 +252,13 @@
typedef xmlSAXHandler *xmlSAXHandlerPtr;
/**
+ * External entity loaders types
+ */
+typedef xmlParserInputPtr (*xmlExternalEntityLoader)(const char *URL,
+ const char *ID,
+ xmlParserCtxtPtr context);
+
+/**
* Global variables: just the default SAX interface tables and XML
* version infos.
*/
@@ -407,7 +410,7 @@
xmlParserInputPtr
xmlLoadExternalEntity (const char *URL,
const char *ID,
- xmlParserInputPtr context);
+ xmlParserCtxtPtr context);
#ifdef __cplusplus
}