Commit Graph

750 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
803bc07fa7 Add a test case for the improper reporting of a failure of the "Entity
Declared" WFC fixed in lib/xmlparse.c 1.65.
2002-08-22 21:41:05 +00:00
Fred L. Drake, Jr.
9f99125a39 Preliminary version number increment. 2002-08-22 21:32:39 +00:00
Karl Waclawek
fa7b20a32a Fix for WFC: Entity Declared handling:
Expat would return an "undefined entity" error for the document:
<!DOCTYPE doc SYSTEM "foo">
<doc>&entity;</doc>
if the DTD was not read.
2002-08-22 21:24:10 +00:00
Fred L. Drake, Jr.
1297454350 Added some minor markup, plus many more internal hyperlinks. 2002-08-22 21:08:43 +00:00
Karl Waclawek
f90c9ae324 Applied patch #598352: Patch for defaultHandler in DTD. 2002-08-22 14:52:44 +00:00
Fred L. Drake, Jr.
5db0d6708d Reduce the maximum line with to 80 (including the newline character).
This should make the AS/400 port easier to maintain.
2002-08-22 13:58:48 +00:00
Fred L. Drake, Jr.
63cb50611f Suppress a warning from GCC that moveToFreeBindingList() had no
prototype, by making it static.
2002-08-22 03:54:17 +00:00
Karl Waclawek
c2f6f06d91 Added more detail about the unknownEncodingHandler. 2002-08-22 00:06:51 +00:00
Karl Waclawek
de7c8418bb Applied patch for bug #596931: XML_ParseReset and memory leaks. 2002-08-21 20:00:09 +00:00
Karl Waclawek
f5f615c931 Fixed typo. 2002-08-11 01:36:05 +00:00
Fred L. Drake, Jr.
88701bc30f Fix well-formedness, broken in the previous checkin. 2002-08-08 22:21:06 +00:00
Fred L. Drake, Jr.
1908fd3dbd Added documentation on how Expat deals with XML versions other than
1.0, and shows how an application can affect it.
Closes SF bug #584041.
2002-08-08 22:17:28 +00:00
Fred L. Drake, Jr.
86803b4c89 Specify XHTML 1.0 Strict, conform, and add the "Valid XHTML 1.0" icon.
Rip out a lot of the extra layers of <div/> and <a/> elements.
2002-08-08 21:51:31 +00:00
Fred L. Drake, Jr.
60b31ae5e7 Add the "Valid XHTML 1.0" icon. 2002-08-08 21:51:01 +00:00
Fred L. Drake, Jr.
aef65d4ec3 Lots of really minor changes:
- Wrap paragraphs more consistently.
- Make this well-formed XML.
- When making a hyperlink to a function description, consistently
  place the anchor inside the code, not the other way around.
- Make more references to function names hyperlinks to the
  descriptions.
- Fix a few small typos.
- Don't always use an extra div to carry a class attribute, just stick
  it on the pre.
2002-08-08 20:41:43 +00:00
Fred L. Drake, Jr.
3d198c888e Style cleanup. 2002-08-08 20:37:11 +00:00
Fred L. Drake, Jr.
81f729ae08 Document XML_DefaultCurrent().
Update the documentation on XML_SetDefaultHandler() and
XML_SetDefaultHandlerExpand().

Closes SF bug #585537.
2002-08-08 19:29:08 +00:00
Fred L. Drake, Jr.
63f624a708 Update the API documentation with the use of XML_Status for the
XML_Parse() and XML_ParseBuffer() functions.
2002-08-08 18:54:15 +00:00
Fred L. Drake, Jr.
d836d20cbb Define specific return values for the XML_Parse*() functions, and use them
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.

dtdInit():  Make this a void function, since there is only one possible
    return value.

parserInit(), poolGrow(), setContext():  Make these return XML_Bool values,
    to match their intended semantics.

XML_ParseBuffer():  Use NULL instead of 0 for a pointer value.
2002-08-02 19:44:09 +00:00
Fred L. Drake, Jr.
e573251a94 Define specific return values for the XML_Parse*() functions, and use them
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.
2002-08-02 19:40:09 +00:00
Fred L. Drake, Jr.
f9777c9428 doProlog(): Use NULL instead of 0 to clear pointer variables.
getContext():  The needSep local is Boolean, so declare & set it that
way.
2002-08-01 05:42:57 +00:00
Fred L. Drake, Jr.
4f4ed4952d Caught some more Boolean fields in the internals. 2002-07-31 22:41:48 +00:00
Fred L. Drake, Jr.
502c611b6e Use the new Boolean definitions internally. 2002-07-31 22:11:50 +00:00
Fred L. Drake, Jr.
56ba3dc676 Add definitions to support Boolean values in the Expat API. 2002-07-31 22:10:42 +00:00
Karl Waclawek
f54c938123 Applied patch for bug #434664: utf8_toutf16 infinite loop. 2002-07-29 01:05:11 +00:00
Karl Waclawek
f944d41397 Added documentation to prevent the misunderstanding that led
to bug #580503: user called parsing functions recursively.
2002-07-27 23:13:16 +00:00
Karl Waclawek
34fbc4a88f Fixes to make it work with make & the free BCC32 command line compiler:
- enabled long command arguments with the "-l" option in makefile.mak
- removed an erroneous linker option from elements.mak
2002-07-27 17:50:45 +00:00
Karl Waclawek
3f78776e80 Applied patch # 581069 2002-07-27 16:21:39 +00:00
Karl Waclawek
6285ef5296 Applied patch # 581069 2002-07-27 16:13:51 +00:00
Fred L. Drake, Jr.
092a369ad2 When creating a tarball from the HEAD instead of a release tag, use
the date to generate the filename instead of the Expat version
number.  This makes sense since the resulting tarball does not
represent a versioned release.
2002-07-25 15:21:06 +00:00
Fred L. Drake, Jr.
93deea5e26 Shorten all lines longer than 80 characters to be shorter than 80.
Required for OS/400 support.
2002-07-25 14:51:19 +00:00
Fred L. Drake, Jr.
71ca0cbb08 Add a whine about the C preprocessor abuse used in this file.
Wrap most of the longer lines so fit in less than 80 columns (required
for OS/400 support).
2002-07-25 14:47:45 +00:00
Fred L. Drake, Jr.
3167cb2a06 Remove cruftiness. 2002-07-24 01:20:18 +00:00
Fred L. Drake, Jr.
83271c5dbf make_basic_suite(): Simplify the organization of the test cases into
just two groups: "basic" (no namespaces) and "namespace".

Rename one test function so it's name makes more sense, and is
shorter.
2002-07-22 17:49:17 +00:00
Fred L. Drake, Jr.
632b20c24f Added regression test for SF bug #584832, adapted from contributed
test.
2002-07-22 17:15:48 +00:00
Karl Waclawek
8d051e9409 Fix for bug #584832: incorrect handling of internal entities.
The wrong string pool was cleared.
2002-07-22 13:32:37 +00:00
Karl Waclawek
d8d3b5fe2e Applied patch for bug #584183: crash in builds without DTD support 2002-07-20 13:31:06 +00:00
Fred L. Drake, Jr.
f44e4a0b87 Fixup whitespace. 2002-07-15 19:57:34 +00:00
Fred L. Drake, Jr.
c89080e4c9 Add news for the 1.95.4 release. 2002-07-12 18:39:32 +00:00
Fred L. Drake, Jr.
c3d1828990 Change the "next release" to 1.95.5. 2002-07-12 18:38:06 +00:00
Fred L. Drake, Jr.
8c9556f8b6 Present signature lines for function declarations much more
consistently.
2002-07-12 16:24:33 +00:00
Fred L. Drake, Jr.
22f9b46259 More nullification: use "return NULL" instead of "return 0" for
functions that return pointer types.

Wrap some long lines.

Captalize the first sentences of some comments, etc.
2002-07-12 16:07:28 +00:00
Fred L. Drake, Jr.
8e4bcc645c We're building Expat, not subversion. Appearantly a cut-n-pasto. 2002-07-12 15:49:33 +00:00
Fred L. Drake, Jr.
04507aa326 xmlwf/readfilemap.c is not used on Windows. 2002-07-12 15:07:30 +00:00
Fred L. Drake, Jr.
95b26fb994 Capitalize "Expat" consistently. 2002-07-12 05:21:23 +00:00
Fred L. Drake, Jr.
50b7b52735 Change the Borland support files so that the DLLs are named libexpat.dll and
libexpatw.dll, as they are for MSVC.
Since I do not have a Borland build environment, I hope I have not botched
this change!
2002-07-12 05:17:26 +00:00
Fred L. Drake, Jr.
252e868b7e Add a note about the Borland compiler support files.
Move the second column of the table right a couple of spaces to
there's space for the long directory name on the left.
2002-07-12 05:06:17 +00:00
Fred L. Drake, Jr.
21f26c8ab6 Add a note about the addition of Borland support files.
Include a couple of additional bug reports that have been dealt with.
2002-07-12 02:52:42 +00:00
Fred L. Drake, Jr.
ebf74d70e6 Add the Borland support files to the installer. 2002-07-12 02:51:56 +00:00
Fred L. Drake, Jr.
15c3eac10c Support files for Borland C++ Builder 5 / BCC 5.5.
Contributed by Patrick McConnell.
Closes SF patch #538032.
2002-07-12 02:46:22 +00:00