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
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