Karl Waclawek
c5cd058508
Added xmltok_impl.c and xmltok_ns.c to source files.
2006-11-26 17:58:06 +00:00
Karl Waclawek
fd79deac8b
Fix for bug #1548182 .
2006-11-26 17:35:37 +00:00
Karl Waclawek
3ff6041e90
Change for MS VC++: Added #ifdefs to allow for passing xmltok_impl.c and
...
xmltok_ns.c to the compiler (to make them visible in IDE).
2006-11-26 17:34:46 +00:00
Karl Waclawek
c7880974e6
(s - NULL & 1) would not compiler under GCC 4.0.0. Changed to char*
...
subtraction so that it will compile under MS VC++ and GCC.
2006-09-06 14:32:12 +00:00
Karl Waclawek
e3e0d28628
Applied patrch #1523242 - support for Open Watcom 1.5.
2006-08-05 17:01:43 +00:00
Karl Waclawek
9922bc6e57
Improved fix for issues # 1515266 and # 1515600. Will now preserve the
...
"failover to default handler" logic. Note: clearing the character data handler
does not take effect immediately anymore.
2006-07-10 18:59:52 +00:00
Karl Waclawek
89f104aebe
Fixed infinite loop when character data handler was cleared under
...
XML_TOK_DATA_CHARS in doContent() and doCdataSection().
2006-07-06 02:50:27 +00:00
Karl Waclawek
647d969449
Fix for issues # 1515266 and # 1515600. The inner for loop under
...
XML_TOK_DATA_CHARS in doContent() and doCdataSection() did not
check if the character data handler was set each time a call-back was made.
2006-07-05 13:06:59 +00:00
Fred L. Drake, Jr.
6788d83616
SF bug #1515266 : as noted, suspending the parser has the same problem that
...
the abort code has; added a check and regression test or that
2006-07-01 15:30:38 +00:00
Fred L. Drake, Jr.
021ea9f68c
SF bug #1515266 : missing check of stopped parser in doContext() for loop
...
(variation of patch by Brett Cannon; test case to come tomorrow)
2006-07-01 03:57:29 +00:00
Karl Waclawek
1c42f84506
__cdecl should be used for MS compilers even if MS extensions are turned off.
2006-06-02 12:17:36 +00:00
Karl Waclawek
c71f27573b
One should not cast a pointer to unsigned long, as it may not work on non-32bit systems.
2006-04-14 17:19:09 +00:00
Karl Waclawek
b43c6f3df9
Removed DESCRIPTION statement - only valid when compiling 16bit
...
virtual device drivers (VxD).
2006-04-07 20:54:55 +00:00
Karl Waclawek
8617df5d5e
Added XML_FEATURE_LARGE_SIZE to be able to detect if Expat was
...
compiled with XML_LARGE_SIZE - see XML_GetFeatureList().
2006-04-07 20:24:20 +00:00
Karl Waclawek
65fb6b9167
Applied patch #1437840 . Fix for bugs #1414066 and #1033965 .
2006-03-06 14:24:36 +00:00
Karl Waclawek
6745f2401a
Added missing XML_UNICODE_WCHAR_T to static debug build for UTF-16.
2006-01-19 01:04:23 +00:00
Karl Waclawek
bd5b3143aa
Added some whitespace.
2005-12-28 06:07:52 +00:00
Karl Waclawek
f41b3c2003
Bumped version number to 2.0.0.
2005-12-26 15:43:22 +00:00
Karl Waclawek
cf4dd114eb
Added 64-bit support for MS VC++ 6.0.
2005-12-25 16:52:13 +00:00
Karl Waclawek
ae5fcf90f8
Fixed incorrect cast which would cause 64-bit integers not to be set to a 64-bit -1 value.
2005-12-25 16:50:52 +00:00
Steven Solie
0845031711
*** empty log message ***
2005-12-24 06:34:24 +00:00
Karl Waclawek
f8412b2167
Added support for 64-bit integers when reporting byte indexes,
...
line and column numbers. Can be turned on/off using the
XML_LARGE_SIZE switch.
2005-12-23 14:45:27 +00:00
Karl Waclawek
b68d8cffaa
Fixed non-standard line breaks.
2005-12-16 17:41:19 +00:00
Karl Waclawek
bbe15d6e69
Added int type casts for 64 bit portability, to avoid compiler warnings.
...
Works for MS VC++, not tested on other platforms.
2005-11-28 20:02:36 +00:00
Karl Waclawek
b3ab45b8ec
Fix for bug # 1271642.
2005-11-24 14:15:22 +00:00
Karl Waclawek
cbf8ace5fb
Fix for bug #1221160 .
2005-06-15 14:24:26 +00:00
Karl Waclawek
1da4815bbe
Applied patch for bug # 1156398.
2005-03-04 02:20:32 +00:00
Steven Solie
e6beafd504
Added AmigaOS support.
2005-02-26 01:38:13 +00:00
Fred L. Drake, Jr.
51c170f0cd
Report XML_NS setting via XML_GetFeatureList().
2005-01-29 04:48:44 +00:00
Fred L. Drake, Jr.
a9444dc7a9
rename macros: "parsing" -> "ps_parsing", "finalBuffer" -> "ps_finalBuffer"
...
(closes SF bug #1021776 : Recursion in macro "parsing", HP 11.0)
2005-01-29 02:28:33 +00:00
Karl Waclawek
d106fb41b7
"if (ns)" check in addBinding() is not necessary, since it is only
...
called when namespace processing is turned on.
2004-12-24 18:25:32 +00:00
Karl Waclawek
57081d0c3c
Fix for bug # 695407: Reserved prefixes and namespace names.
...
Contributed by Peter van der Beken.
2004-12-24 18:00:28 +00:00
Karl Waclawek
f47aaad2cd
Fix for bug # 1090885: Problem with Suspend/Resume mechanism.
...
The code path through XML_Parse() when XML_CONTEXT_BYTES
was not defined, did not take into account that XML_ResumParser()
uses bufferPtr and parseEndPtr as the pointers into the working buffer.
2004-12-24 16:30:25 +00:00
Karl Waclawek
7f56ceddbf
Improved error message - see bug # 972802.
2004-12-21 18:30:52 +00:00
Karl Waclawek
837398fadb
Made it consistent that in the case of namespace triplets, the namespace
...
separator between local name and prefix is always present, even when
it is omitted between uri and local name.
2004-12-20 05:04:41 +00:00
Karl Waclawek
1f86de6168
Fixed comment for XML_ParserCreateNS.
2004-12-20 03:19:09 +00:00
Karl Waclawek
781e89ed08
Fix for bug #1065040 . Improved const correctness.
...
Minor improvement of XML_GetFeatureList().
2004-11-26 15:16:17 +00:00
Karl Waclawek
4fe9e56a02
Fix for bug #1065042 . Improved const correctness.
2004-11-26 15:00:38 +00:00
Karl Waclawek
bbe86f3dff
Fix for bug #1065047 . Improved const correctness.
2004-11-26 14:58:24 +00:00
Karl Waclawek
d265895d31
Fix for bug #1065044 . Improved const correctness.
2004-11-26 14:56:52 +00:00
Karl Waclawek
45594b1bb3
Added include guard to expat_external.h.
...
Renamed include guard for expat.h, to reflect the changed file name.
2004-11-26 00:20:21 +00:00
Fred L. Drake, Jr.
0699f3c162
convert MSVC project and workspace files to binary files that must always
...
use the DOS/Windows CR-LF line end convention
(closes SF bug #1007088 )
2004-09-30 02:47:03 +00:00
Karl Waclawek
b705d712c2
Removed last comma in enum XML_Status declaration to improve
...
compiler compatibility.
2004-09-24 13:06:29 +00:00
Karl Waclawek
a5af514c3d
Fixed type error that came to light when compiling as C++ file.
2004-08-10 18:04:34 +00:00
Karl Waclawek
f44f6b4200
Fix for bug #1006708 .
2004-08-10 17:34:19 +00:00
Fred L. Drake, Jr.
1d757a0771
The status argument to XML_GetParsingStatus() cannot be NULL.
2004-07-23 02:02:41 +00:00
Fred L. Drake, Jr.
b3c95c25bf
add some comments about when various error codes were added
2004-07-16 00:54:57 +00:00
Karl Waclawek
c834048b0f
Applied patch for bug #961698 supplied by Anders Carlsson.
2004-05-27 17:38:52 +00:00
Karl Waclawek
99f5788c21
Added a few more meaningful error codes (and messages).
2004-05-18 13:50:13 +00:00
Karl Waclawek
cac0ed29a8
Renamed exrternal.h to expat_external.h.
...
Fixed up references to this file.
2004-05-06 13:55:49 +00:00