Fred L. Drake, Jr.
4273b16711
Add a test that makes sure xmlns:prefix="" is allowed when namespace
...
processing is not enabled.
2003-01-24 05:09:42 +00:00
Karl Waclawek
d9d497177a
Applied patch #673791 .
2003-01-24 05:01:45 +00:00
Karl Waclawek
dd2ecd7fa8
For the start of element and end of element events, it is possible that
...
the default handler does not get called even when no element handlers
are called, because storeAtts() may trigger the startNamespaceDeclHandler
where the application has a chance to clear the element handlers.
This patch fixes this with one issue still open, which applies to empty elements only:
When the endElement handler is called, but not the startElementHandler,
then the default handler is not called, which causes attributes to not
be reported at all. The other alternative would be to call the default handler,
but then the element would be reported twice.
2003-01-22 14:52:20 +00:00
Karl Waclawek
c56f444ab0
Prevent storeAtts() from being called twice for an empty element when
...
the endElementHandler is set, but not the startElementHandler.
2003-01-22 14:26:07 +00:00
Fred L. Drake, Jr.
d6df5f356b
- update information on the GOBO Expat interface
...
- fix some well-formedness errors
- add some missing punctuation
2003-01-22 03:19:22 +00:00
Fred L. Drake, Jr.
164b04825b
Added notes that the namespace decl handlers are only called when the
...
start element handler is set. See SF bug #620343 .
2003-01-21 16:09:31 +00:00
Fred L. Drake, Jr.
b2e6a40fbb
Fix test case regarding reporting of undefined entities and
...
non-validating parsers (see section 5.1 of the XML 1.0 specification).
2003-01-21 05:41:24 +00:00
Fred L. Drake, Jr.
31c109284d
Added link to a discussion of another way to handle stateful
...
callbacks, using Expat as an example library to work with.
Closes SF bug #658080 .
2003-01-21 05:20:51 +00:00
Fred L. Drake, Jr.
3d6f978672
Documented XML_SetExternalEntityRefHandlerArg(), including API
...
foolishness noted in SF bug #644344 .
Closes SF bug #644344 .
2003-01-21 05:00:51 +00:00
Fred L. Drake, Jr.
a4e0597458
- try to be smarter about the options to cp
...
- use indentation consistently
- one we've built the tarball successfully, clean up the 2nd temp dir
2003-01-20 15:25:20 +00:00
Fred L. Drake, Jr.
f6b3146642
Update the list of project files for the Borland tools.
2003-01-20 15:00:57 +00:00
Fred L. Drake, Jr.
37be32f63f
Minor cleanups and conformance with current recommended usage.
2003-01-20 14:49:44 +00:00
Karl Waclawek
8850c38338
Correct the version some APIs were added in.
2003-01-17 00:49:12 +00:00
Fred L. Drake, Jr.
e629e75f89
Added notes about the new APIs.
2003-01-16 23:24:38 +00:00
Fred L. Drake, Jr.
7410374a90
Correct the version some APIs were added in.
2003-01-16 23:22:56 +00:00
Fred L. Drake, Jr.
bbfa307c6b
Add documentation for XML_FreeContentModel(), XML_MemMalloc(),
...
XML_MemRealloc(), and XML_MemFree().
2003-01-16 23:15:19 +00:00
Karl Waclawek
131116f1ec
Change to support Windows 2000 behaviour by default
2003-01-16 22:07:26 +00:00
Karl Waclawek
0c7508bf81
Updating Borland BCB5 DEF files for patch re. bug/feature request #651754
2003-01-16 22:05:46 +00:00
Karl Waclawek
f19a5291ec
Patch for bug/feature request #651754 .
...
Implemented with two API additions:
1) For element declaration handler support:
XML_FreeContentModel
2) Exposing Expat's memory allocation functions:
XML_MemMalloc
XML_MemRealloc
XML_MemFree
2003-01-16 22:03:42 +00:00
Karl Waclawek
3bfb49007e
Applied patch for bug #667511 supplied by Jeremy Kloth.
2003-01-15 00:51:15 +00:00
Fred L. Drake, Jr.
77c2d3e0ae
Update comments to refer to XML_STATUS_OK, XML_STATUS_ERROR, and NULL
...
as appropriate.
2002-12-31 17:53:21 +00:00
Fred L. Drake, Jr.
eb280e7260
Change the API to return XML_Status values where possible.
...
Existing client code is 100% compatible.
2002-12-30 20:12:52 +00:00
Fred L. Drake, Jr.
f379e9315f
When returning a status value through the public API, use
...
XML_STATUS_OK / XML_STATUS_ERROR. Internal status returns are not
affected.
2002-12-30 20:02:28 +00:00
Fred L. Drake, Jr.
7556575221
Clarify the documentation for the position-reporting functions
...
somewhat (see SF bug #653180 ).
Use XML_STATUS_ERROR and XML_STATUS_OK instead of 0, 1, and "non-zero"
in several places.
2002-12-30 19:50:06 +00:00
Fred L. Drake, Jr.
42dc47850e
Oops, there were more regression tests for SF bug #653180 ; add these
...
as well.
2002-12-30 19:33:21 +00:00
Fred L. Drake, Jr.
d9b09dd45e
Added regression tests from bug; Karl already fixed the bug itself.
...
Closes SF bug #653180 .
Removed test that failed to tickle the bug, but should have.
2002-12-30 19:20:39 +00:00
Karl Waclawek
e6802bb514
Fix for bug/feature request #653180 .
2002-12-16 04:02:02 +00:00
Karl Waclawek
ed47baa513
Applied patch for bug #653449 .
2002-12-14 03:12:18 +00:00
Patrick McConnell
e541a7f743
Segregate obj files for utf8 and unicode build versions
2002-12-09 17:23:23 +00:00
Karl Waclawek
f162999a26
Annotated MS VC++ DEF files.
2002-12-08 14:35:34 +00:00
Patrick McConnell
0703fecbdc
Moving the Borland module definition files to the bcb5 dir, correcting
...
an error in the LIBRARY entry in the def files, calling the new def
files in the proj and make files.
2002-12-08 03:37:41 +00:00
Patrick McConnell
2fd9d5e8d6
Moving the Borland .def files to the BCB5 directory and correcting an
...
error in the LIBRARY entry
2002-12-08 03:16:38 +00:00
Karl Waclawek
eddeed59f9
Clarified runtime linking issues.
2002-12-07 14:18:50 +00:00
Patrick McConnell
5d1952a9f9
Revision of Borland proj and make files to fix dos carriage return
...
problem. Files remain identical to initial release for building static
and wide-char versions of libs, as well as the dll's.
2002-12-07 08:59:43 +00:00
Patrick McConnell
7c008489b1
libexpat dll def files for borland initial release
2002-12-07 08:25:58 +00:00
Patrick McConnell
f4f555f8a5
Removed dos linefeeds, test this before doing rest of bcb5
2002-12-06 22:29:14 +00:00
Patrick McConnell
d9e3766cd4
*** empty log message ***
2002-12-06 21:52:38 +00:00
Patrick McConnell
038f5f0f6e
*** empty log message ***
2002-12-06 21:36:08 +00:00
Fred L. Drake, Jr.
e2dd730af2
Added a link to SCEW.
2002-12-04 06:52:36 +00:00
Karl Waclawek
48cb2c35b0
Added additional patch for bug #644334 . Includes workaround for
...
bad API typedef of externalEntityRefHandler.
2002-11-27 17:11:32 +00:00
Fred L. Drake, Jr.
9a41111b9d
Add some type casts to deal with MALLOC signature checking for
...
some platforms.
Closes SF bug #644334 .
2002-11-27 04:03:33 +00:00
Fred L. Drake, Jr.
d0d21d7253
The feature name pointers should be marked const. This reportedly
...
avoids some warnings on HP-UX using the aCC compiler.
Closes SF bug #644461 .
2002-11-27 03:31:23 +00:00
Karl Waclawek
1a6b939100
Fixed memory leak.
2002-11-20 16:20:10 +00:00
Fred L. Drake, Jr.
4e95e87acb
Make sure all lines end with a newline.
2002-11-20 04:27:32 +00:00
Fred L. Drake, Jr.
0a40843bde
Remove trailing whitespace.
2002-11-12 21:49:36 +00:00
Fred L. Drake, Jr.
47d66b73ba
Remove trailing whitespace.
2002-11-12 21:44:18 +00:00
Fred L. Drake, Jr.
843c5c4f5c
Added regression test for SF bug #483514 : Default handler reports
...
handled events.
2002-11-12 20:26:05 +00:00
Fred L. Drake, Jr.
1e4bab1724
Added regression test for SF bug #620106 : XML_SetEncoding() broken
...
for external entities.
2002-11-12 19:22:49 +00:00
Fred L. Drake, Jr.
a515b7b01c
Added regression test for SF bug #616863 .
...
Cleaned up some indentation.
Report the version of the Expat library if not in "silent" mode.
2002-11-07 23:02:26 +00:00
Fred L. Drake, Jr.
de3338154c
Avoid use of xargs; not available on Windows when using MSYS/MinGW.
2002-11-07 21:48:05 +00:00