Fred L. Drake, Jr. [Tue, 28 Oct 2003 17:13:10 +0000 (17:13 +0000)]
update the link for tDOM
Karl Waclawek [Sun, 26 Oct 2003 08:13:54 +0000 (08:13 +0000)]
Make XML_ParserFree() null-safe, so that it behaves
like the standard free() memory deallocation function.
Karl Waclawek [Fri, 24 Oct 2003 00:40:54 +0000 (00:40 +0000)]
Corrected docs regarding Win32 builds with MS VC++.
Karl Waclawek [Fri, 24 Oct 2003 00:39:42 +0000 (00:39 +0000)]
Cleaned up make files and improved docs.
Fred L. Drake, Jr. [Thu, 23 Oct 2003 05:24:11 +0000 (05:24 +0000)]
Started a new page with some notes about what's changing in Expat 3.
Largely a placeholder at this point, but this can be used to tell the
community about what Expat 3 will "look like."
Fred L. Drake, Jr. [Tue, 21 Oct 2003 17:05:43 +0000 (17:05 +0000)]
make sure we pick up the Expat logo in the doc directory
Fred L. Drake, Jr. [Tue, 21 Oct 2003 03:52:10 +0000 (03:52 +0000)]
Add a news item for the Expat 1.95.7 release; not quite ready, but almost.
Fred L. Drake, Jr. [Mon, 20 Oct 2003 21:11:27 +0000 (21:11 +0000)]
Set the release date.
Fred L. Drake, Jr. [Mon, 20 Oct 2003 14:50:37 +0000 (14:50 +0000)]
use indentation consistently
Fred L. Drake, Jr. [Mon, 20 Oct 2003 14:40:44 +0000 (14:40 +0000)]
Steal a bit of look-n-feel from the website; this document was just looking
incredibly bland.
Fred L. Drake, Jr. [Sat, 18 Oct 2003 04:46:02 +0000 (04:46 +0000)]
avoid a few additional warnings for some compilers, and others with
warnings turned way up high
Fred L. Drake, Jr. [Fri, 17 Oct 2003 21:08:30 +0000 (21:08 +0000)]
Updates from last night.
Karl Waclawek [Thu, 16 Oct 2003 14:26:46 +0000 (14:26 +0000)]
Fix for bug #824420.
Fred L. Drake, Jr. [Thu, 16 Oct 2003 05:05:16 +0000 (05:05 +0000)]
update to reflect further improvements
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:51:11 +0000 (04:51 +0000)]
Make it possible to avoid the import of expat_config.h. This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:32:39 +0000 (04:32 +0000)]
- reorganize by the components that need what we're checking for
- remove the check for memcmp(); we didn't use the result of the check
(though we do use memcmp())
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:23:44 +0000 (04:23 +0000)]
- use spaces instead of tabs consistently
- don't allow trailing whitespace at the end of lines
- remove blank lines at the end of the file
Fred L. Drake, Jr. [Thu, 16 Oct 2003 04:20:54 +0000 (04:20 +0000)]
Remove the __attribute__((dllimport)) and __attribute__((dllexport))
declarations; these are needed only on an obscure platform (Windows NT
on PowerPC using GCC), and were never in previous releases of Expat.
They caused way too many spurious warnings on several platforms where
they aren't actually needed but should be ignored silently.
Removing these cannot break working code.
Karl Waclawek [Wed, 15 Oct 2003 21:38:15 +0000 (21:38 +0000)]
Removed unused EXPAT_EXPORTS definition.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:51:28 +0000 (20:51 +0000)]
clean up the macro restructuring, and make it play nice on Windows
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:46:53 +0000 (20:46 +0000)]
- add the XMLCALL annotation consistently in the docs
- don't drop the void return for handler setting functions
Fred L. Drake, Jr. [Wed, 15 Oct 2003 20:02:12 +0000 (20:02 +0000)]
- the "alt" attribute is required on <img/> to be valid XHTML strict
- minor cleanup
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:49:54 +0000 (18:49 +0000)]
- add Expat version number
- add notes about safely using XMLCALL with older Expat versions
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:33:27 +0000 (18:33 +0000)]
Update to reflect the addition of the XMLCALL macro.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 18:16:35 +0000 (18:16 +0000)]
Add a news item about the upcoming release, and a pointer to the testing
snapshot.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 16:36:23 +0000 (16:36 +0000)]
Move "Configuring Expat Using the Pre-Processor" from the "Using"
section to the "Building" section.
Fred L. Drake, Jr. [Wed, 15 Oct 2003 16:25:44 +0000 (16:25 +0000)]
Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.
To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:
- XMLCALL, which expands to whatever is needed to nail down the
calling convention for all calls across the library boundary. This
must match the convention used for the system's malloc()
implementation.
- XMLIMPORT, defined to be whatever magic is needed to mark an entry
point as imported from a dynamically loaded module (.dll, .so, .sl,
whatever).
These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points. In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
Fred L. Drake, Jr. [Sat, 11 Oct 2003 17:50:22 +0000 (17:50 +0000)]
- move the CVS repository specification to a variable
- use authenticated access for now, since SF's anonymous CVS still
isn't in a happy state
Greg Stein [Thu, 9 Oct 2003 21:32:28 +0000 (21:32 +0000)]
Put in a little protection against the developer not having the check
package available.
sfbug #664541.
* configure.in: look for check.h. This will set up a HAVE_CHECK_H define.
* tests/chardata.c, tests/runtests.c: update banner. add test for
HAVE_CHECK_H and bail if not present.
Fred L. Drake, Jr. [Thu, 9 Oct 2003 12:18:41 +0000 (12:18 +0000)]
Minor updates before release.
Fred L. Drake, Jr. [Wed, 8 Oct 2003 03:32:25 +0000 (03:32 +0000)]
Added documentation for the pre-processor macros used to configure Expat.
Greg Stein [Sun, 28 Sep 2003 21:57:22 +0000 (21:57 +0000)]
Suggested fix from jtalkington@users.sf.net.
See bug #765227.
* lib/internal.h:
(FASTCALL, PTRFASTCALL): only define these macros for the GNU C compiler
on i386 platforms. apprently, they do not work well on PPC ports.
Karl Waclawek [Mon, 22 Sep 2003 14:14:54 +0000 (14:14 +0000)]
Improved comment on hash algorithm.
Karl Waclawek [Sat, 13 Sep 2003 17:30:30 +0000 (17:30 +0000)]
Applied patch #699487. For details see patch description.
Fred L. Drake, Jr. [Fri, 12 Sep 2003 03:52:18 +0000 (03:52 +0000)]
wrapped some long lines
Karl Waclawek [Fri, 5 Sep 2003 17:20:47 +0000 (17:20 +0000)]
Updated mailing list links.
Karl Waclawek [Fri, 5 Sep 2003 00:42:46 +0000 (00:42 +0000)]
Corrected typo.
Karl Waclawek [Fri, 5 Sep 2003 00:40:23 +0000 (00:40 +0000)]
Added a file for testing the duplicate prefixed attribute check.
Karl Waclawek [Thu, 4 Sep 2003 21:31:32 +0000 (21:31 +0000)]
Added files for performance testing.
Karl Waclawek [Thu, 4 Sep 2003 16:13:10 +0000 (16:13 +0000)]
Explains usage of benchmark utility.
Fred L. Drake, Jr. [Thu, 4 Sep 2003 16:05:02 +0000 (16:05 +0000)]
Add explanations for this directory.
Karl Waclawek [Thu, 4 Sep 2003 16:01:54 +0000 (16:01 +0000)]
Small benchmark utility to test pure parser speed.
Tested on Windows only. Includes MS VC++ 6.0 workspace.
Karl Waclawek [Thu, 28 Aug 2003 13:12:34 +0000 (13:12 +0000)]
Adjusted layout of XML_ParserReset fix.
Karl Waclawek [Thu, 28 Aug 2003 13:08:10 +0000 (13:08 +0000)]
Fixed omission of second argument in XML_ParserReset.
Reported by Tim Bray.
Fred L. Drake, Jr. [Wed, 27 Aug 2003 12:34:23 +0000 (12:34 +0000)]
elaborated test case to cover SF bug #774028; current Expat already
handles this correctly
Fred L. Drake, Jr. [Mon, 4 Aug 2003 14:38:24 +0000 (14:38 +0000)]
update link to mailing lists
Fred L. Drake, Jr. [Mon, 28 Jul 2003 15:46:32 +0000 (15:46 +0000)]
Update expatpp link, and use the name in the description.
Fred L. Drake, Jr. [Fri, 25 Jul 2003 16:30:47 +0000 (16:30 +0000)]
Added link to Late Night Software's XML Tools 2.
Fred L. Drake, Jr. [Wed, 16 Jul 2003 12:21:25 +0000 (12:21 +0000)]
Replace a poor message with one that isn't misleading.
See SF bug #699323.
Fred L. Drake, Jr. [Tue, 15 Jul 2003 17:29:42 +0000 (17:29 +0000)]
Update the library version properly this time.
Fred L. Drake, Jr. [Tue, 15 Jul 2003 15:42:13 +0000 (15:42 +0000)]
Added notes about needing the check library to run the regression and
unit tests.
See SF bug #732794.
Fred L. Drake, Jr. [Tue, 15 Jul 2003 15:20:35 +0000 (15:20 +0000)]
- bump the versioning information
- start describing the changes in 1.95.7
Karl Waclawek [Thu, 3 Jul 2003 04:01:14 +0000 (04:01 +0000)]
Expat would report an incorrect "Unlosed token" error when
expanding %percent; in the second of these entity declarations:
<!ENTITY % percent "%">
<!ENTITY %percent; y "value">
This patch was submitted by James Clark on the xml-dev mailing list.
Greg Stein [Wed, 18 Jun 2003 01:11:45 +0000 (01:11 +0000)]
Patch submitted by Joe Orton <joe@manyfish.co.uk> with additional
modifications by Greg Stein (comments and text changes).
* buildconf.sh: to deal with crazy/custom libtool installations, allow
the developer/package to specify the libtool.m4 location by
setting the LIBTOOL_M4 environment variable. If that isn't set,
then we use our previous method of trying to derive its location.
Fred L. Drake, Jr. [Tue, 15 Apr 2003 18:43:03 +0000 (18:43 +0000)]
Add a reference to the Simkin scripting language.
Fred L. Drake, Jr. [Fri, 14 Mar 2003 17:25:12 +0000 (17:25 +0000)]
Be more defensive: only enable the *CALL macros when using GCC on
Linux, since we know the current definitions work there and have a
positive effect.
This closes SF bug #692878.
Fred L. Drake, Jr. [Thu, 13 Mar 2003 02:17:48 +0000 (02:17 +0000)]
- better explain the XML_GetCurrent*() functions (SF bug #683681)
Fred L. Drake, Jr. [Thu, 13 Mar 2003 02:13:06 +0000 (02:13 +0000)]
- better explain the XML_GetCurrent*() functions (SF bug #683681)
- fix spelling
Fred L. Drake, Jr. [Thu, 13 Mar 2003 01:30:48 +0000 (01:30 +0000)]
Fix function signature.
Closes SF bug #679468.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 23:02:11 +0000 (23:02 +0000)]
Fix FASTCALL for GCC on Solaris (SF bug #692878).
This file is becoming a liability.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 22:42:53 +0000 (22:42 +0000)]
Removed documentation of limitations that no longer exist in the
implementation. See SF bug #620343.
Fred L. Drake, Jr. [Wed, 12 Mar 2003 19:25:03 +0000 (19:25 +0000)]
- be more specific about the errors we expect to see reported
- change the name of make_basic_suite() to make_suite(), since there's
only one make_*_suite() function
Fred L. Drake, Jr. [Wed, 12 Mar 2003 19:17:18 +0000 (19:17 +0000)]
Add regression tests for SF bugs:
#692964 - Case where expat 1.95.6 doesn't report duplicate attributes
#695401 - Unbound prefixes not rejected
Karl Waclawek [Fri, 7 Mar 2003 15:54:08 +0000 (15:54 +0000)]
Apply patch NSAttFix3.diff for bug #692964 (with one minor modification).
This also fixes bug #695401.
Karl Waclawek [Mon, 3 Feb 2003 20:32:45 +0000 (20:32 +0000)]
Fix for bug #679754: compile error when XML_DTD not defined.
Fred L. Drake, Jr. [Wed, 29 Jan 2003 02:43:08 +0000 (02:43 +0000)]
Move the XML_Status enum definition earlier. Some recent versions of
GCC (3.2 at least) report an error from the forward reference.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 15:26:59 +0000 (15:26 +0000)]
Add win32/README.txt to the Source/ directory that gets installed.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 15:23:39 +0000 (15:23 +0000)]
XML_Status is an enum, not a typedef name.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:54:33 +0000 (05:54 +0000)]
Fix the release date... again.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:45:10 +0000 (05:45 +0000)]
Karl's latest patch for SF issue #673791:
Call storeAtts() for all element start tags; this is necessary to
ensure attribute defaults are properly processed for all elements
(needed to do proper namespace checking, at the very least), and that
tag names are properly cooked when there's an end-element-handler but
no start-element-handler.
This causes the new tests to pass, and closes the SF tracker issue.
Fred L. Drake, Jr. [Tue, 28 Jan 2003 05:33:37 +0000 (05:33 +0000)]
- two more tests based on Karl's comments on SF patch #673791
- pass XML_TRUE or XML_FALSE as the isFinal parameter for XML_Parse()
Fred L. Drake, Jr. [Sun, 26 Jan 2003 01:11:29 +0000 (01:11 +0000)]
Add the .DEF files to the Windows installer.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 18:43:29 +0000 (18:43 +0000)]
Added change notes for Expat 1.95.6, in preparation for pending
release. This should not be published in the release is made public
on SourceForge.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 16:25:34 +0000 (16:25 +0000)]
Replace tabs with spaces.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 16:10:15 +0000 (16:10 +0000)]
Update more version numbers.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 15:36:31 +0000 (15:36 +0000)]
Update for release 1.95.6.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 15:33:21 +0000 (15:33 +0000)]
Update information on the 1.95.6 release (still pending).
Fred L. Drake, Jr. [Sat, 25 Jan 2003 06:55:25 +0000 (06:55 +0000)]
Added regression tests for SF bug #673791.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 06:53:05 +0000 (06:53 +0000)]
Karl's fix for SF bug #673791:
Error with xmlns:prefix= with namespace processing enabled.
It seems that storeAtts() has the following properties:
- when called with tagNamePtr = NULL and bindingsPtr = NULL,
it does not process attributes incl. namespace declarations
- when called with all arguments non-NULL it processes
attributes (incl. default attributes) and namespace declarations
We also have these requirements:
A) for start of element event:
1) if we have a startElementHandler:
we need to process at least default attributes,
so we must call storeAtts with all arguments non-NULL
2) if we have no startElementHandler, but we have attributes:
we need to process namespace declarations,
so we must call storeAtts with all arguments non-NULL
3) if we have no startElementHandler and no attributes:
we need to store the name (for the end element event, where
the names are compared) and call only the default handler
Note: Storing the name is a pre-requisiste for calling
storeAtts with all arguments non-NULL.
So there really is no place for calling storeAtts with
tagNamePtr = NULL and bindingsPtr = NULL.
B) for empty element event:
1) if we have a startElementHandler:
we need to process at least default attributes,
so we must call storeAtts with all arguments non-NULL
2) if we have no startElementHandler, but we have attributes:
we need to process namespace declarations,
so we must call storeAtts with all arguments non-NULL
3) if we have no startElementHandler and no attributes,
but we have an endElementHandler:
we need to store the name for calling the handler,
but we need not process any attributes (default or not)
4) if we have no start- or endElementHandler, and no attributes:
we need to call only the default handler
Given that storeAtts will now always be called with all arguments
non-NULL we could remove a few internal checks in storeAtts,
if that improves efficiency. Not sure if that is worth it.
This patch should therefore fix the problem of namespace declarations
not being processed when no startElementHandler is set, that is,
it will fix Jeremy's NS processing patch.
Fred L. Drake, Jr. [Sat, 25 Jan 2003 04:57:44 +0000 (04:57 +0000)]
Thread the proper file name and line number to make determination of
which test is failing easier.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:43:20 +0000 (18:43 +0000)]
Last minute updates.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:34:59 +0000 (18:34 +0000)]
Regenerate from xmlwf.sgml revision 1.4.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 18:34:03 +0000 (18:34 +0000)]
Explain "--" properly.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 16:21:46 +0000 (16:21 +0000)]
Add a clobber target. "clean" should really be less destructive, but
libtool is really a thorn with regard to this.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 15:26:06 +0000 (15:26 +0000)]
Regenerate from xmlwf.sgml.
Fred L. Drake, Jr. [Fri, 24 Jan 2003 15:23:33 +0000 (15:23 +0000)]
- document unexpected memory use reporting when memory mapped files
are used; closes SF bug #632146
- minor changes to wording in a few places
- remove cute comment on one of the linked sites
- added more markup
Fred L. Drake, Jr. [Fri, 24 Jan 2003 05:39:16 +0000 (05:39 +0000)]
- _expect_failure(): Use _fail_unless() instead of fail() to allow
reporting of the right line number
- add test that demonstrates the default namespace can be reset
without a syntax error
Fred L. Drake, Jr. [Fri, 24 Jan 2003 05:09:42 +0000 (05:09 +0000)]
Add a test that makes sure xmlns:prefix="" is allowed when namespace
processing is not enabled.
Karl Waclawek [Fri, 24 Jan 2003 05:01:45 +0000 (05:01 +0000)]
Applied patch #673791.
Karl Waclawek [Wed, 22 Jan 2003 14:52:20 +0000 (14:52 +0000)]
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.
Karl Waclawek [Wed, 22 Jan 2003 14:26:07 +0000 (14:26 +0000)]
Prevent storeAtts() from being called twice for an empty element when
the endElementHandler is set, but not the startElementHandler.
Fred L. Drake, Jr. [Wed, 22 Jan 2003 03:19:22 +0000 (03:19 +0000)]
- update information on the GOBO Expat interface
- fix some well-formedness errors
- add some missing punctuation
Fred L. Drake, Jr. [Tue, 21 Jan 2003 16:09:31 +0000 (16:09 +0000)]
Added notes that the namespace decl handlers are only called when the
start element handler is set. See SF bug #620343.
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:41:24 +0000 (05:41 +0000)]
Fix test case regarding reporting of undefined entities and
non-validating parsers (see section 5.1 of the XML 1.0 specification).
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:20:51 +0000 (05:20 +0000)]
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.
Fred L. Drake, Jr. [Tue, 21 Jan 2003 05:00:51 +0000 (05:00 +0000)]
Documented XML_SetExternalEntityRefHandlerArg(), including API
foolishness noted in SF bug #644344.
Closes SF bug #644344.
Fred L. Drake, Jr. [Mon, 20 Jan 2003 15:25:20 +0000 (15:25 +0000)]
- 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
Fred L. Drake, Jr. [Mon, 20 Jan 2003 15:00:57 +0000 (15:00 +0000)]
Update the list of project files for the Borland tools.
Fred L. Drake, Jr. [Mon, 20 Jan 2003 14:49:44 +0000 (14:49 +0000)]
Minor cleanups and conformance with current recommended usage.
Karl Waclawek [Fri, 17 Jan 2003 00:49:12 +0000 (00:49 +0000)]
Correct the version some APIs were added in.