From kwaclaw at users.sourceforge.net Fri Nov 26 01:18:17 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 01:18:20 2004 Subject: [Expat-checkins] expat/doc reference.html,1.61,1.62 Message-ID: Update of /cvsroot/expat/expat/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2018 Modified Files: reference.html Log Message: Added to documentation of XML_ParserReset(). Index: reference.html =================================================================== RCS file: /cvsroot/expat/expat/doc/reference.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- reference.html 23 Jul 2004 03:28:08 -0000 1.61 +++ reference.html 26 Nov 2004 00:18:15 -0000 1.62 @@ -965,8 +965,10 @@
Clean up the memory structures maintained by the parser so that it may be used again. After this has been called, parser is -ready to start parsing a new document. This function may not be used -on a parser created using XML_ExternalEntityParserCreate; it will return XML_FALSE in that case. Returns XML_TRUE on success. Your application is responsible for @@ -2306,4 +2308,4 @@ height="31" width="88" class="noborder" />

- + \ No newline at end of file From kwaclaw at users.sourceforge.net Fri Nov 26 01:20:24 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 01:20:27 2004 Subject: [Expat-checkins] expat/lib expat.h, 1.72, 1.73 expat_external.h, 1.2, 1.3 Message-ID: Update of /cvsroot/expat/expat/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2414 Modified Files: expat.h expat_external.h Log Message: Added include guard to expat_external.h. Renamed include guard for expat.h, to reflect the changed file name. Index: expat.h =================================================================== RCS file: /cvsroot/expat/expat/lib/expat.h,v retrieving revision 1.72 retrieving revision 1.73 diff -u -d -r1.72 -r1.73 --- expat.h 24 Sep 2004 13:06:29 -0000 1.72 +++ expat.h 26 Nov 2004 00:20:21 -0000 1.73 @@ -2,8 +2,8 @@ See the file COPYING for copying permission. */ -#ifndef XmlParse_INCLUDED -#define XmlParse_INCLUDED 1 +#ifndef Expat_INCLUDED +#define Expat_INCLUDED 1 #ifdef __VMS /* 0 1 2 3 0 1 2 3 @@ -1005,4 +1005,4 @@ } #endif -#endif /* not XmlParse_INCLUDED */ +#endif /* not Expat_INCLUDED */ Index: expat_external.h =================================================================== RCS file: /cvsroot/expat/expat/lib/expat_external.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- expat_external.h 10 Aug 2004 17:34:19 -0000 1.2 +++ expat_external.h 26 Nov 2004 00:20:21 -0000 1.3 @@ -2,6 +2,9 @@ See the file COPYING for copying permission. */ +#ifndef Expat_External_INCLUDED +#define Expat_External_INCLUDED 1 + /* External API definitions */ #if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__) @@ -94,3 +97,5 @@ #ifdef __cplusplus } #endif + +#endif /* not Expat_External_INCLUDED */ From kwaclaw at users.sourceforge.net Fri Nov 26 15:56:56 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 15:56:59 2004 Subject: [Expat-checkins] expat/lib xmltok.c,1.32,1.33 Message-ID: Update of /cvsroot/expat/expat/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1946 Modified Files: xmltok.c Log Message: Fix for bug #1065044. Improved const correctness. Index: xmltok.c =================================================================== RCS file: /cvsroot/expat/expat/lib/xmltok.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- xmltok.c 6 May 2004 13:55:49 -0000 1.32 +++ xmltok.c 26 Nov 2004 14:56:52 -0000 1.33 @@ -1451,7 +1451,7 @@ static int FASTCALL getEncodingIndex(const char *name) { - static const char *encodingNames[] = { + static const char * const encodingNames[] = { KW_ISO_8859_1, KW_US_ASCII, KW_UTF_8, @@ -1484,7 +1484,7 @@ static int -initScan(const ENCODING **encodingTable, +initScan(const ENCODING * const *encodingTable, const INIT_ENCODING *enc, int state, const char *ptr, From kwaclaw at users.sourceforge.net Fri Nov 26 15:58:26 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 15:58:29 2004 Subject: [Expat-checkins] expat/lib xmltok_ns.c,1.6,1.7 Message-ID: Update of /cvsroot/expat/expat/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2309 Modified Files: xmltok_ns.c Log Message: Fix for bug #1065047. Improved const correctness. Index: xmltok_ns.c =================================================================== RCS file: /cvsroot/expat/expat/lib/xmltok_ns.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- xmltok_ns.c 20 Sep 2002 03:42:43 -0000 1.6 +++ xmltok_ns.c 26 Nov 2004 14:58:24 -0000 1.7 @@ -19,7 +19,7 @@ #endif } -static const ENCODING *NS(encodings)[] = { +static const ENCODING * const NS(encodings)[] = { &ns(latin1_encoding).enc, &ns(ascii_encoding).enc, &ns(utf8_encoding).enc, From kwaclaw at users.sourceforge.net Fri Nov 26 16:00:41 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 16:00:44 2004 Subject: [Expat-checkins] expat/lib xmlrole.c,1.19,1.20 Message-ID: Update of /cvsroot/expat/expat/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2859 Modified Files: xmlrole.c Log Message: Fix for bug #1065042. Improved const correctness. Index: xmlrole.c =================================================================== RCS file: /cvsroot/expat/expat/lib/xmlrole.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- xmlrole.c 6 May 2004 13:55:49 -0000 1.19 +++ xmlrole.c 26 Nov 2004 15:00:38 -0000 1.20 @@ -793,7 +793,7 @@ return XML_ROLE_ATTLIST_NONE; case XML_TOK_NAME: { - static const char *types[] = { + static const char * const types[] = { KW_CDATA, KW_ID, KW_IDREF, From kwaclaw at users.sourceforge.net Fri Nov 26 16:16:21 2004 From: kwaclaw at users.sourceforge.net (Karl Waclawek) Date: Fri Nov 26 16:16:23 2004 Subject: [Expat-checkins] expat/lib xmlparse.c,1.137,1.138 Message-ID: Update of /cvsroot/expat/expat/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6330 Modified Files: xmlparse.c Log Message: Fix for bug #1065040. Improved const correctness. Minor improvement of XML_GetFeatureList(). Index: xmlparse.c =================================================================== RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- xmlparse.c 10 Aug 2004 18:04:34 -0000 1.137 +++ xmlparse.c 26 Nov 2004 15:16:17 -0000 1.138 @@ -1836,7 +1836,7 @@ const XML_LChar * XMLCALL XML_ErrorString(enum XML_Error code) { - static const XML_LChar *message[] = { + static const XML_LChar* const message[] = { 0, XML_L("out of memory"), XML_L("syntax error"), @@ -1916,9 +1916,11 @@ const XML_Feature * XMLCALL XML_GetFeatureList(void) { - static XML_Feature features[] = { - {XML_FEATURE_SIZEOF_XML_CHAR, XML_L("sizeof(XML_Char)"), 0}, - {XML_FEATURE_SIZEOF_XML_LCHAR, XML_L("sizeof(XML_LChar)"), 0}, + static const XML_Feature features[] = { + {XML_FEATURE_SIZEOF_XML_CHAR, XML_L("sizeof(XML_Char)"), + sizeof(XML_Char)}, + {XML_FEATURE_SIZEOF_XML_LCHAR, XML_L("sizeof(XML_LChar)"), + sizeof(XML_LChar)}, #ifdef XML_UNICODE {XML_FEATURE_UNICODE, XML_L("XML_UNICODE"), 0}, #endif @@ -1938,8 +1940,6 @@ {XML_FEATURE_END, NULL, 0} }; - features[0].value = sizeof(XML_Char); - features[1].value = sizeof(XML_LChar); return features; } From fdrake at users.sourceforge.net Mon Nov 29 22:52:27 2004 From: fdrake at users.sourceforge.net (Fred L. Drake) Date: Mon Nov 29 22:52:31 2004 Subject: [Expat-checkins] htdocs index.html,1.53,1.54 Message-ID: Update of /cvsroot/expat/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2784 Modified Files: index.html Log Message: add links to LuaExpat and LuaSOAP Index: index.html =================================================================== RCS file: /cvsroot/expat/htdocs/index.html,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- index.html 24 Aug 2004 17:40:39 -0000 1.53 +++ index.html 29 Nov 2004 21:52:14 -0000 1.54 @@ -192,6 +192,14 @@ >Introductory article on using Expat on xml.com
  • + LuaExpat is a + wrapper around Expat for the Lua + programming language. The LuaSOAP library is a SOAP implementation + built on top of LuaExpat.
  • +
  • Perl's XML::Parser module is a wrapper built around a binding to Expat in the XML::Parser::Expat module.