Commit Graph

1036 Commits

Author SHA1 Message Date
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.
f70a4ab7dd added more detail about XML_CONTEXT_BYTES 2004-07-16 02:31:27 +00:00
Fred L. Drake, Jr.
02de9eac60 Update version number to 1.95.8 in preparation for release. 2004-07-16 02:10:57 +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
Fred L. Drake, Jr.
3188f13393 - fix the description of the XML_DTD preprocessor symbol
(closes SF bug #916232)
- fix markup error (swapped end tags)
2004-07-16 00:13:05 +00:00
Fred L. Drake, Jr.
c82f512b97 update tests to reflect that a more specific error message is being generated
for some cases
2004-07-15 23:29:25 +00:00
Fred L. Drake, Jr.
1044e5b3e1 - avoid using the "check" library's suite_free() function; it is not
available in all versions of the library, and srunner_free() is
  sufficient
  (closes SF bug #985192)
- avoid some compiler warnings
2004-07-15 22:54:19 +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
0d04bafbbd Added expat_external.h 2004-05-07 20:00:48 +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
Karl Waclawek
656d80eca2 Fix for bug #946506: PublicId for DOCTYPE not checked & normalized. 2004-05-02 17:31:13 +00:00
Karl Waclawek
0595209dda Made note about building under Visual Studio .NET. 2004-04-30 17:28:05 +00:00
Karl Waclawek
804897854f Fix for bug #928113 . 2004-04-30 15:39:47 +00:00
Fred L. Drake, Jr.
8a8f58a2d0 patch from Shard (neoni dot net) to support BeOS 2004-04-30 03:44:34 +00:00
Fred L. Drake, Jr.
d1df594ca2 If the check library is not available, use an abbreviated implementation of
the check API.  This allows the unit and regression tests to be run on any
system without requiring an external package.
2004-04-30 03:18:11 +00:00
Karl Waclawek
69af7dedff Fixed compile errors when XML_DTD and XML_CONTEXT_BYTES
were undefined.
2004-04-29 17:53:34 +00:00
Karl Waclawek
e55585a9ee Added note about the effects on well-formedness checking when
calling XML_UseForeignDTD(parser, XML_TRUE).
2004-04-27 00:50:50 +00:00
Karl Waclawek
edca100c0c Added comment about the effects on well-formedness checking after
calling XML_UseForeignDTD(parser, XML_TRUE).
2004-04-27 00:49:34 +00:00
Karl Waclawek
c82e539ccd Re-ordered links to 3rd party wrappers. 2004-04-26 20:36:10 +00:00
Karl Waclawek
42e289597f Added link to SAXExpat.NET. 2004-04-26 19:45:23 +00:00
Karl Waclawek
6361de48a2 Would not build on Linux without including stddef.h before
including external.h.
2004-04-24 23:56:41 +00:00
Karl Waclawek
149774b6ec Fix for bug #920274. 2004-04-13 13:17:59 +00:00
Fred L. Drake, Jr.
8e56c54876 update URL to the mailing lists page 2004-04-02 21:53:40 +00:00
Karl Waclawek
9b665601fd Fix for bug #923913, Calling convention problems.
For details see bug description.
2004-03-26 14:24:11 +00:00
Karl Waclawek
22fc8d15d4 Changed to allow aborting a suspended parser instance. 2004-03-16 22:14:31 +00:00
Karl Waclawek
9c48460b5e Removed ability to suspend while parsing an external parameter entity.
The problem is that on return from the externalEntityRefHandler() call-back
the parser currently assumes that parsing of the parameter entity is finished,
and updates its internal state accordingly. I do not have the time at this
point to implement and test a solution. Being able to suspend while parsing
the DTD is also less desirable than doing the same while parsing content.
2004-03-16 20:29:28 +00:00
Karl Waclawek
c50aeb9f9c When the parser was suspended while processing an internal entity,
an XML_ERROR_NO_ELEMENTS condition could happen.
The reason was that the internal entity's start tag level was not preserved
when parsing was suspended. This has been corrected.
2004-03-16 04:41:54 +00:00
Karl Waclawek
86f4b1471b Fixed the XML_GetCurrentLine/ColumnNumber() functions so that
they don't produce an access violation when the value of eventPtr is
less than the value of positionPtr. This can happen when a handler
raises an exception or potentially in some border cases.

Also added some more updates of eventPtr.
2004-03-16 04:27:18 +00:00
Karl Waclawek
2a3e8fa423 Changed signature of XML_GetParsingStatus(), changing the return value
to a parameter passed by reference (pointer). It seems that  the processing
of return values is not standardized, even when calling convention and
platform are specified. This should make Expat more usable as a shared library.
2004-03-16 03:53:24 +00:00
Karl Waclawek
5d1062a57d Fix for bug #916228. 2004-03-15 00:34:12 +00:00
Karl Waclawek
28ede67c7f Improved comments for XML_StopParser() and XML_ResumeParser(). 2004-03-10 15:56:11 +00:00
Karl Waclawek
cab3befee5 Applied a simplified version of Jeremy Kloth's patch for bug #896188.
Also removed some code that was never executed, because the condition
(prologState.documentEntity && role == XML_ROLE_INNER_PARAM_ENTITY_REF)
can never be true. Improved some comments as well.
2004-02-13 18:11:51 +00:00
Karl Waclawek
3cb7a47584 Made these compiler warnings go away:
- not all cases handled for switch based an enumeration:
  added default: ; where appropriate
- char* passed where const char* was expected:
  changed variable declarations to const char*
2004-02-11 16:42:40 +00:00
Fred L. Drake, Jr.
5f7ed9e1d9 update version number (closes SF patch #841591) 2004-01-29 00:11:32 +00:00
Karl Waclawek
100e0bd4a2 Cosmetic changes in function signatures - for consistency. 2004-01-27 01:48:58 +00:00
Fred L. Drake, Jr.
6b43e142b8 add link to OCaml Expat 2004-01-22 04:22:17 +00:00
Fred L. Drake, Jr.
b57b602cf0 add MSVC 6 project files to the source distribution
closes SF bug #856659
2004-01-21 21:30:54 +00:00
Fred L. Drake, Jr.
3fc33bf3b6 suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms
2004-01-20 16:04:47 +00:00
Fred L. Drake, Jr.
c4cc819335 - add a link-less entry for XML::Parser
- fix punctuation
2004-01-20 14:41:59 +00:00
Karl Waclawek
2335294f7c Applied patch #835123: Suspend/Resume functionality.
For details check the patch description.
2004-01-07 17:12:04 +00:00
Karl Waclawek
e99be5e232 Updated links for SAXExpat and SAX for Pascal. 2003-12-16 17:24:29 +00:00
Fred L. Drake, Jr.
f5092bbff6 Defined HAVE_EXPAT_CONFIG_H when building on VMS.
Closes SF bug #840173.
2003-11-17 15:36:02 +00:00
Fred L. Drake, Jr.
1b3f0f6b1f bump the version number since the code has changed, however slightly 2003-11-02 20:37:22 +00:00
Fred L. Drake, Jr.
441247cf0c remove unused stanzas 2003-11-02 18:14:11 +00:00
Fred L. Drake, Jr.
8b57439995 Simplify preprocessor construct. 2003-11-02 09:44:55 +00:00
Fred L. Drake, Jr.
d11807a7b5 Allow the configure script to set where manpages go using --mandir.
Closes SF bug #827319.
2003-11-02 08:21:30 +00:00
Fred L. Drake, Jr.
0a0a850ae7 added regression test for SF bug #824420:
in non-namespace mode, Expat reported the use of an unbound namespace
when encountering an element that looks like it has a namespace prefix
(were namespaces enabled) and there's a definition for that prefix in
the DTD
2003-11-02 08:12:46 +00:00
Fred L. Drake, Jr.
b2686e7b0f update the dates 2003-10-30 19:59:50 +00:00
Fred L. Drake, Jr.
fba15ab94c remove unnecessary typecast 2003-10-30 14:58:39 +00:00