Commit Graph

792 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
8b72d99dbf Tabs are evil; remove them. 2002-08-29 16:48:01 +00:00
Fred L. Drake, Jr.
fc50f773e9 Document the special build considerations for building from a CVS
checkout instead of a packaged source distribution.
2002-08-29 16:46:59 +00:00
Fred L. Drake, Jr.
ee96d299e7 Fixed indentation, added period. 2002-08-29 16:25:12 +00:00
Karl Waclawek
6c2d89cf39 Added static library build support under VC++ 2002-08-29 16:17:09 +00:00
Fred L. Drake, Jr.
fcfed06b51 Consistently use "Expat" when refering to the Expat software.
Other minor clarifications.
2002-08-29 15:57:08 +00:00
Fred L. Drake, Jr.
a759c51ca1 The strings returned as part of the XML_Feature structure should be of type
XML_LChar*, not XML_Char*.
2002-08-29 15:29:52 +00:00
Fred L. Drake, Jr.
e5cf509115 Revise the XML_GetFeatureList() function signature so that we maintain the
behavior that all strings returned from Expat are affected by the XML_UNICODE
and XML_UNICODE_WCHAR_T feature-test macros, and ensure that an application
that needs to determine what type of character data is returned can do so
with reasonable ease.
2002-08-29 04:54:04 +00:00
Fred L. Drake, Jr.
d9be20e8f0 Make the arg to XML_ErrorString() an XML_Error value. Compatible
since enums are binary compatible with ints.
2002-08-27 22:58:25 +00:00
Fred L. Drake, Jr.
325d6f339f Define XML_Error enum before referencing it.
Make the arg to XML_ErrorString() an XML_Error value.  Compatible
since enums are binary compatible with ints.
2002-08-27 22:57:59 +00:00
Fred L. Drake, Jr.
a3e77face0 Added more updates; mostly the list of misc. bugs that have been
fixed.
2002-08-27 22:42:52 +00:00
Fred L. Drake, Jr.
4b5958655b Added & elaborated some comments about the structures maintained to
store tag information.
2002-08-27 21:55:19 +00:00
Fred L. Drake, Jr.
66aecf83ca Comments should be sentences, and sentences should be capitalized and
end with punctuation.
2002-08-27 21:09:14 +00:00
Karl Waclawek
c4e09cdb41 Applied patch #600964: Element name storage optimization 2002-08-27 20:45:27 +00:00
Karl Waclawek
9067726f25 The previous fix should also be applied to XML_ParserReset. 2002-08-27 20:32:41 +00:00
Fred L. Drake, Jr.
5ca422d4dd Initialize the pools that are part of the parser structure before
letting them get cleared.  Reported by Tim Crook.
2002-08-27 20:24:19 +00:00
Fred L. Drake, Jr.
1330c4c02f Added regression test.
Closes SF bug #600479.
2002-08-27 17:06:19 +00:00
Fred L. Drake, Jr.
6643dbce7b Start a section for the next release. 2002-08-27 16:14:35 +00:00
Fred L. Drake, Jr.
21fe34d006 asParser(): Removed unused function only defined in debug mode in
MSVC.

Remove annoying blank line.
2002-08-27 16:09:40 +00:00
Fred L. Drake, Jr.
233230ce89 One consequence of using an incomplete struct to define XML_Parser is
that compilers can be more picky about type compatibility.  Tighten up
the function signatures to reduce spurious warnings.
2002-08-27 05:49:52 +00:00
Karl Waclawek
969d3363fe Fix for bug #600479: error decoding UTF-8 triplet 2002-08-27 00:28:48 +00:00
Fred L. Drake, Jr.
19dce96507 Fix a broken error message about the XML declaration.
Closes SF bug #596555.
2002-08-26 21:22:35 +00:00
Fred L. Drake, Jr.
fd28011aa5 Documented XML_ParserReset().
Made function signatures use a trailing semi-colon consistently.
2002-08-26 20:37:49 +00:00
Fred L. Drake, Jr.
d0ce0b3b0b Substantially reduce the amount of indentation used in the table of
contents.

Added documentation for XML_UseForeignDTD().
2002-08-26 19:55:22 +00:00
Fred L. Drake, Jr.
d4f7009363 Change XML_Parser definition to use an incomplete structure in the public
API, allowing the implementation to define the structure and use less
casting in internal macros.

Change XML_UseForeignDTD() to return an enum XML_Error value, to allow
specific conditions to be reported more clearly.
2002-08-26 19:54:24 +00:00
Karl Waclawek
46feda26da Small documentation fix for default handler. 2002-08-26 17:57:38 +00:00
Fred L. Drake, Jr.
7f88e00a8e Fix XHTML well-formedness and validity. 2002-08-26 17:27:29 +00:00
Fred L. Drake, Jr.
ce60dcf034 showVersion(): Use the new XML_GetFeatureList() function to list the
compile-time features as part of the "xmlwf -v"
                output.
2002-08-26 17:20:48 +00:00
Fred L. Drake, Jr.
bb761420b6 XML_GetFeatureList(): New API function. 2002-08-26 17:19:41 +00:00
Fred L. Drake, Jr.
cf8591548a Update the link to the mailing lists. 2002-08-26 15:08:48 +00:00
Karl Waclawek
4e5aedecfa Applied patch #599715: Enable undeclared DTD 2002-08-26 15:04:19 +00:00
Karl Waclawek
65c96007fe Removed DllMain function for Windows Dll.
Not needed, since we don't intialize antything, and it gets in
the way when building a static Expat library that is used by a Dll.
2002-08-26 01:33:56 +00:00
Fred L. Drake, Jr.
a37a37af7f Add test for well-formedness constraint: No Recursion. 2002-08-24 19:53:59 +00:00
Fred L. Drake, Jr.
66e88141e0 Minor changes for consistency. 2002-08-23 22:21:09 +00:00
Fred L. Drake, Jr.
ed0cbdbd05 Wrap some long lines; the AS/400 requires line length <= 80
characters.
2002-08-23 21:54:11 +00:00
Fred L. Drake, Jr.
5b85b08976 Update the "clean" target to match the current arrangement. 2002-08-23 21:53:29 +00:00
Fred L. Drake, Jr.
1ef2370e61 It doesn't look like this has been used in a long time; we might be
able to get rid of it.

- Arranged function & method signatures like they are elsewhere in the
  sources.
- Shortened some long lines.
- #include expat.h instead of xmlparse.h.
2002-08-23 21:47:52 +00:00
Fred L. Drake, Jr.
705efa1f25 Add a test that we do report an undefined entity if there is an
external subset and we load it.
2002-08-23 19:45:44 +00:00
Karl Waclawek
d6a47ae1e6 Applied patch #598944: Static library builds for VC++ 2002-08-23 15:04:52 +00:00
Fred L. Drake, Jr.
93a409f6f6 Factor out some error reporting code used when the parser is expected
to report an error, and either doesn't report an error at all or
reports the wrong error.
2002-08-23 03:35:40 +00:00
Fred L. Drake, Jr.
80cac4a780 Renamed the last test added to be more clear about the condition being
tested.

Added a couple of additional tests checking for proper response to the
same well-formedness constraint.  No bugs to fix there, just trying to
improve the coverage of the test suite.
2002-08-23 03:14:01 +00:00
Fred L. Drake, Jr.
6143619cf2 Elaborate a comment slightly. 2002-08-22 21:58:11 +00:00
Fred L. Drake, Jr.
4b551b1b96 showVersion(): Only check for \ in the path on Windows, the same as
in tmain().
2002-08-22 21:55:25 +00:00
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