Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
libxml2 2.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed May 5, 2021
1 parent de470d0 commit 5b7fcd8
Show file tree
Hide file tree
Showing 39 changed files with 129 additions and 134 deletions.
9 changes: 3 additions & 6 deletions include/libexslt/exsltconfig.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* exsltconfig.h: compile-time version informations for the EXSLT library
* exsltconfig.h: compile-time version information for the EXSLT library
*
* See Copyright for the status of this software.
*
Expand All @@ -18,7 +18,7 @@ extern "C" {
*
* the version string like "1.2.3"
*/
#define LIBEXSLT_DOTTED_VERSION "1.1.32"
#define LIBEXSLT_DOTTED_VERSION "1.1.34"

/**
* LIBEXSLT_VERSION:
Expand Down Expand Up @@ -46,7 +46,7 @@ extern "C" {
*
* Whether crypto support is configured into exslt
*/
#if 1
#if 0
#define EXSLT_CRYPTO_ENABLED
#endif

Expand All @@ -56,9 +56,6 @@ extern "C" {
* This macro is used to flag unused function parameters to GCC
*/
#ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__((unused))
#endif
Expand Down
6 changes: 3 additions & 3 deletions include/libexslt/exsltexports.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
#endif
#endif

/* Cygwin platform, GNU compiler */
#if defined(_WIN32) && defined(__CYGWIN__)
/* Cygwin platform (does not define _WIN32), GNU compiler */
#if defined(__CYGWIN__)
#undef EXSLTPUBFUN
#undef EXSLTPUBVAR
#undef EXSLTCALL
Expand All @@ -124,7 +124,7 @@
#if !defined(LIBEXSLT_STATIC)
#define EXSLTPUBVAR __declspec(dllimport) extern
#else
#define EXSLTPUBVAR
#define EXSLTPUBVAR extern
#endif
#endif
#define EXSLTCALL __cdecl
Expand Down
12 changes: 6 additions & 6 deletions include/libxml2/libxml/c14n.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ extern "C" {
#include <libxml/xpath.h>

/*
* XML Canonicazation
* XML Canonicalization
* http://www.w3.org/TR/xml-c14n
*
* Exclusive XML Canonicazation
* Exclusive XML Canonicalization
* http://www.w3.org/TR/xml-exc-c14n
*
* Canonical form of an XML document could be created if and only if
* a) default attributes (if any) are added to all nodes
* b) all character and parsed entity references are resolved
* In order to achive this in libxml2 the document MUST be loaded with
* following global setings:
* In order to achieve this in libxml2 the document MUST be loaded with
* following global settings:
*
* xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
* xmlSubstituteEntitiesDefault(1);
Expand All @@ -59,7 +59,7 @@ extern "C" {
*
*/
typedef enum {
XML_C14N_1_0 = 0, /* Origianal C14N 1.0 spec */
XML_C14N_1_0 = 0, /* Original C14N 1.0 spec */
XML_C14N_EXCLUSIVE_1_0 = 1, /* Exclusive C14N 1.0 spec */
XML_C14N_1_1 = 2 /* C14N 1.1 spec */
} xmlC14NMode;
Expand Down Expand Up @@ -96,7 +96,7 @@ XMLPUBFUN int XMLCALL
/**
* xmlC14NIsVisibleCallback:
* @user_data: user data
* @node: the curent node
* @node: the current node
* @parent: the parent node
*
* Signature for a C14N callback on visible nodes
Expand Down
2 changes: 1 addition & 1 deletion include/libxml2/libxml/catalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extern "C" {
/**
* XML_CATALOG_PI:
*
* The specific XML Catalog Processing Instuction name.
* The specific XML Catalog Processing Instruction name.
*/
#define XML_CATALOG_PI \
(const xmlChar *) "oasis-xml-catalog"
Expand Down
19 changes: 6 additions & 13 deletions include/libxml2/libxml/dict.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,18 @@
#ifndef __XML_DICT_H__
#define __XML_DICT_H__

#include <stddef.h>
#include <libxml/xmlversion.h>

#ifdef __cplusplus
#define __XML_EXTERNC extern "C"
#else
#define __XML_EXTERNC
extern "C" {
#endif

/*
* The dictionary.
*/
__XML_EXTERNC typedef struct _xmlDict xmlDict;
__XML_EXTERNC typedef xmlDict *xmlDictPtr;

#include <limits.h>
#include <libxml/xmlversion.h>
#include <libxml/tree.h>

#ifdef __cplusplus
extern "C" {
#endif
typedef struct _xmlDict xmlDict;
typedef xmlDict *xmlDictPtr;

/*
* Initializer
Expand Down
1 change: 0 additions & 1 deletion include/libxml2/libxml/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/xmlerror.h>
#include <libxml/SAX.h>
#include <libxml/SAX2.h>
#include <libxml/xmlmemory.h>

Expand Down
4 changes: 2 additions & 2 deletions include/libxml2/libxml/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ typedef void *(*xmlHashCopier)(void *payload, const xmlChar *name);
/**
* xmlHashScanner:
* @payload: the data in the hash
* @data: extra scannner data
* @data: extra scanner data
* @name: the name associated
*
* Callback when scanning data in a hash with the simple scanner.
Expand All @@ -89,7 +89,7 @@ typedef void (*xmlHashScanner)(void *payload, void *data, const xmlChar *name);
/**
* xmlHashScannerFull:
* @payload: the data in the hash
* @data: extra scannner data
* @data: extra scanner data
* @name: the name associated
* @name2: the second name associated
* @name3: the third name associated
Expand Down
8 changes: 4 additions & 4 deletions include/libxml2/libxml/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@ struct _xmlParserCtxt {
void * *pushTab; /* array of data for push */
xmlHashTablePtr attsDefault; /* defaulted attributes if any */
xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
int nsWellFormed; /* is the document XML Nanespace okay */
int nsWellFormed; /* is the document XML Namespace okay */
int options; /* Extra options */

/*
* Those fields are needed only for treaming parsing so far
* Those fields are needed only for streaming parsing so far
*/
int dictNames; /* Use dictionary names for the tree */
int freeElemsNr; /* number of freed element nodes */
Expand Down Expand Up @@ -1097,7 +1097,7 @@ typedef enum {
XML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
XML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
XML_PARSE_SAX1 = 1<<9, /* use the SAX1 interface internally */
XML_PARSE_XINCLUDE = 1<<10,/* Implement XInclude substitition */
XML_PARSE_XINCLUDE = 1<<10,/* Implement XInclude substitution */
XML_PARSE_NONET = 1<<11,/* Forbid network access */
XML_PARSE_NODICT = 1<<12,/* Do not reuse the context dictionary */
XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */
Expand Down Expand Up @@ -1191,7 +1191,7 @@ XMLPUBFUN xmlDocPtr XMLCALL
/**
* xmlFeature:
*
* Used to examine the existance of features that can be enabled
* Used to examine the existence of features that can be enabled
* or disabled at compile-time.
* They used to be called XML_FEATURE_xxx but this clashed with Expat
*/
Expand Down
2 changes: 1 addition & 1 deletion include/libxml2/libxml/parserInternals.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ XMLPUBVAR unsigned int xmlParserMaxDepth;
/**
* XML_MAX_NAME_LENGTH:
*
* Maximum size allowed for a markup identitier
* Maximum size allowed for a markup identifier.
* This is not a limitation of the parser but a safety boundary feature,
* use XML_PARSE_HUGE option to override it.
* Note that with the use of parsing dictionaries overriding the limit
Expand Down
12 changes: 6 additions & 6 deletions include/libxml2/libxml/schemasInternals.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,13 @@ struct _xmlSchemaWildcard {
/**
* XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED:
*
* The attribute wildcard has been already builded.
* The attribute wildcard has been built.
*/
#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED 1 << 0
/**
* XML_SCHEMAS_ATTRGROUP_GLOBAL:
*
* The attribute wildcard has been already builded.
* The attribute group has been defined.
*/
#define XML_SCHEMAS_ATTRGROUP_GLOBAL 1 << 1
/**
Expand Down Expand Up @@ -725,7 +725,7 @@ struct _xmlSchemaType {
/**
* XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION:
*
* disallowed substitutions: "substituion"
* disallowed substitutions: "substitution"
*/
#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION 1 << 13
/**
Expand Down Expand Up @@ -789,7 +789,7 @@ struct _xmlSchemaElement {
xmlRegexpPtr contModel; /* Obsolete for WXS, maybe used for RelaxNG */
xmlSchemaContentType contentType;
const xmlChar *refPrefix; /* Deprecated; not used */
xmlSchemaValPtr defVal; /* The compiled value contraint. */
xmlSchemaValPtr defVal; /* The compiled value constraint. */
void *idcs; /* The identity-constraint defs */
};

Expand Down Expand Up @@ -881,7 +881,7 @@ struct _xmlSchemaNotation {
/**
* XML_SCHEMAS_FINAL_DEFAULT_LIST:
*
* the cshema has "list" in the set of finalDefault.
* the schema has "list" in the set of finalDefault.
*/
#define XML_SCHEMAS_FINAL_DEFAULT_LIST 1 << 4
/**
Expand Down Expand Up @@ -942,7 +942,7 @@ struct _xmlSchema {
xmlDictPtr dict;
void *includes; /* the includes, this is opaque for now */
int preserve; /* whether to free the document */
int counter; /* used to give ononymous components unique names */
int counter; /* used to give anonymous components unique names */
xmlHashTablePtr idcDef; /* All identity-constraint defs. */
void *volatiles; /* Obsolete */
};
Expand Down
4 changes: 2 additions & 2 deletions include/libxml2/libxml/tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ struct _xmlNode {
* xmlDocProperty
*
* Set of properties of the document as found by the parser
* Some of them are linked to similary named xmlParserOption
* Some of them are linked to similarly named xmlParserOption
*/
typedef enum {
XML_DOC_WELLFORMED = 1<<0, /* document is XML well formed */
Expand Down Expand Up @@ -575,7 +575,7 @@ struct _xmlDoc {
void *ids; /* Hash table for ID attributes if any */
void *refs; /* Hash table for IDREFs attributes if any */
const xmlChar *URL; /* The URI for that document */
int charset; /* encoding of the in-memory content
int charset; /* Internal flag for charset handling,
actually an xmlCharEncoding */
struct _xmlDict *dict; /* dict used to allocate names or NULL */
void *psvi; /* for type/PSVI informations */
Expand Down
2 changes: 1 addition & 1 deletion include/libxml2/libxml/xlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern "C" {
* of namespaces. If "foo" is the prefix for "http://foo.com/"
* then the link detection layer will expand role="foo:myrole"
* to "http://foo.com/:myrole".
* NOTE: the link detection layer will expand URI-Refences found on
* NOTE: the link detection layer will expand URI-References found on
* href attributes by using the base mechanism if found.
*/
typedef xmlChar *xlinkHRef;
Expand Down
4 changes: 2 additions & 2 deletions include/libxml2/libxml/xmlIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {
* @filename: the filename or URI
*
* Callback used in the I/O Input API to detect if the current handler
* can provide input fonctionnalities for this resource.
* can provide input functionality for this resource.
*
* Returns 1 if yes and 0 if another Input module should be used
*/
Expand Down Expand Up @@ -73,7 +73,7 @@ typedef int (XMLCALL *xmlInputCloseCallback) (void * context);
* @filename: the filename or URI
*
* Callback used in the I/O Output API to detect if the current handler
* can provide output fonctionnalities for this resource.
* can provide output functionality for this resource.
*
* Returns 1 if yes and 0 if another Output module should be used
*/
Expand Down
2 changes: 1 addition & 1 deletion include/libxml2/libxml/xmlerror.h
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ typedef enum {
* xmlGenericErrorFunc:
* @ctx: a parsing context
* @msg: the message
* @...: the extra arguments of the varags to format the message
* @...: the extra arguments of the varargs to format the message
*
* Signature of the function to use when there is an error and
* no parsing or validity context available .
Expand Down
15 changes: 3 additions & 12 deletions include/libxml2/libxml/xmlexports.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@
#define XMLCALL __cdecl
#endif
#define XMLCDECL __cdecl
#if !defined _REENTRANT
#define _REENTRANT
#endif
#endif

/* Windows platform with Borland compiler */
Expand All @@ -97,9 +94,6 @@
#endif
#define XMLCALL __cdecl
#define XMLCDECL __cdecl
#if !defined _REENTRANT
#define _REENTRANT
#endif
#endif

/* Windows platform with GNU compiler (Mingw) */
Expand All @@ -126,13 +120,10 @@
#endif
#define XMLCALL __cdecl
#define XMLCDECL __cdecl
#if !defined _REENTRANT
#define _REENTRANT
#endif
#endif

/* Cygwin platform, GNU compiler */
#if defined(_WIN32) && defined(__CYGWIN__)
/* Cygwin platform (does not define _WIN32), GNU compiler */
#if defined(__CYGWIN__)
#undef XMLPUBFUN
#undef XMLPUBVAR
#undef XMLCALL
Expand All @@ -145,7 +136,7 @@
#if !defined(LIBXML_STATIC)
#define XMLPUBVAR __declspec(dllimport) extern
#else
#define XMLPUBVAR
#define XMLPUBVAR extern
#endif
#endif
#define XMLCALL __cdecl
Expand Down
Loading

0 comments on commit 5b7fcd8

Please sign in to comment.