Commit Graph

948 Commits

Author SHA1 Message Date
Karl Waclawek
8aee05d06b Added a file for testing the duplicate prefixed attribute check. 2003-09-05 00:40:23 +00:00
Karl Waclawek
c2a87a1b7e Added files for performance testing. 2003-09-04 21:31:32 +00:00
Karl Waclawek
8ffc7e6556 Explains usage of benchmark utility. 2003-09-04 16:13:10 +00:00
Fred L. Drake, Jr.
a1980e2fb9 Add explanations for this directory. 2003-09-04 16:05:02 +00:00
Karl Waclawek
0c62e320f8 Small benchmark utility to test pure parser speed.
Tested on Windows only. Includes MS VC++ 6.0 workspace.
2003-09-04 16:01:54 +00:00
Karl Waclawek
04e4395048 Adjusted layout of XML_ParserReset fix. 2003-08-28 13:12:34 +00:00
Karl Waclawek
f375cc9c98 Fixed omission of second argument in XML_ParserReset.
Reported by Tim Bray.
2003-08-28 13:08:10 +00:00
Fred L. Drake, Jr.
118ea18262 elaborated test case to cover SF bug #774028; current Expat already
handles this correctly
2003-08-27 12:34:23 +00:00
Fred L. Drake, Jr.
b7e1fb5e4e update link to mailing lists 2003-08-04 14:38:24 +00:00
Fred L. Drake, Jr.
8940f541ca Update expatpp link, and use the name in the description. 2003-07-28 15:46:32 +00:00
Fred L. Drake, Jr.
cb1d481cda Added link to Late Night Software's XML Tools 2. 2003-07-25 16:30:47 +00:00
Fred L. Drake, Jr.
4b4c45e4d6 Replace a poor message with one that isn't misleading.
See SF bug #699323.
2003-07-16 12:21:25 +00:00
Fred L. Drake, Jr.
63870ec6db Update the library version properly this time. 2003-07-15 17:29:42 +00:00
Fred L. Drake, Jr.
dc2b252367 Added notes about needing the check library to run the regression and
unit tests.
See SF bug #732794.
2003-07-15 15:42:13 +00:00
Fred L. Drake, Jr.
fa49735f8a - bump the versioning information
- start describing the changes in 1.95.7
2003-07-15 15:20:35 +00:00
Karl Waclawek
57455c864c Expat would report an incorrect "Unlosed token" error when
expanding %percent; in the second of these entity declarations:

<!ENTITY % percent "&#37;">
<!ENTITY %percent; y "value">

This patch was submitted by James Clark on the xml-dev mailing list.
2003-07-03 04:01:14 +00:00
Greg Stein
f42e8ae96b 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.
2003-06-18 01:11:45 +00:00
Fred L. Drake, Jr.
beb865de86 Add a reference to the Simkin scripting language. 2003-04-15 18:43:03 +00:00
Fred L. Drake, Jr.
f668c507d9 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.
2003-03-14 17:25:12 +00:00
Fred L. Drake, Jr.
5bd3d020d3 - better explain the XML_GetCurrent*() functions (SF bug #683681) 2003-03-13 02:17:48 +00:00
Fred L. Drake, Jr.
c288abe148 - better explain the XML_GetCurrent*() functions (SF bug #683681)
- fix spelling
2003-03-13 02:13:06 +00:00
Fred L. Drake, Jr.
de2aab2a91 Fix function signature.
Closes SF bug #679468.
2003-03-13 01:30:48 +00:00
Fred L. Drake, Jr.
cc454566be Fix FASTCALL for GCC on Solaris (SF bug #692878).
This file is becoming a liability.
2003-03-12 23:02:11 +00:00
Fred L. Drake, Jr.
c95888aeed Removed documentation of limitations that no longer exist in the
implementation.  See SF bug #620343.
2003-03-12 22:42:53 +00:00
Fred L. Drake, Jr.
2ff7f92016 - 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
2003-03-12 19:25:03 +00:00
Fred L. Drake, Jr.
72ba3bd3d8 Add regression tests for SF bugs:
#692964 - Case where expat 1.95.6 doesn't report duplicate attributes
#695401 - Unbound prefixes not rejected
2003-03-12 19:17:18 +00:00
Karl Waclawek
8650b04b24 Apply patch NSAttFix3.diff for bug #692964 (with one minor modification).
This also fixes bug #695401.
2003-03-07 15:54:08 +00:00
Karl Waclawek
2d3510fa5f Fix for bug #679754: compile error when XML_DTD not defined. 2003-02-03 20:32:45 +00:00
Fred L. Drake, Jr.
777344d49d Move the XML_Status enum definition earlier. Some recent versions of
GCC (3.2 at least) report an error from the forward reference.
2003-01-29 02:43:08 +00:00
Fred L. Drake, Jr.
a711a048ef Add win32/README.txt to the Source/ directory that gets installed. 2003-01-28 15:26:59 +00:00
Fred L. Drake, Jr.
0edf0b6689 XML_Status is an enum, not a typedef name. 2003-01-28 15:23:39 +00:00
Fred L. Drake, Jr.
c48e483c59 Fix the release date... again. 2003-01-28 05:54:33 +00:00
Fred L. Drake, Jr.
1ffb2b424a 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.
2003-01-28 05:45:10 +00:00
Fred L. Drake, Jr.
db8a501c0d - 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()
2003-01-28 05:33:37 +00:00
Fred L. Drake, Jr.
eedd60ee72 Add the .DEF files to the Windows installer. 2003-01-26 01:11:29 +00:00
Fred L. Drake, Jr.
33176a01d0 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.
2003-01-25 18:43:29 +00:00
Fred L. Drake, Jr.
f16ae245bf Replace tabs with spaces. 2003-01-25 16:25:34 +00:00
Fred L. Drake, Jr.
c6db3a89f7 Update more version numbers. 2003-01-25 16:10:15 +00:00
Fred L. Drake, Jr.
6a43d872b7 Update for release 1.95.6. 2003-01-25 15:36:31 +00:00
Fred L. Drake, Jr.
06f1a47c8f Update information on the 1.95.6 release (still pending). 2003-01-25 15:33:21 +00:00
Fred L. Drake, Jr.
f85926afd5 Added regression tests for SF bug #673791. 2003-01-25 06:55:25 +00:00
Fred L. Drake, Jr.
a04f107e61 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.
2003-01-25 06:53:05 +00:00
Fred L. Drake, Jr.
7fd8181a4a Thread the proper file name and line number to make determination of
which test is failing easier.
2003-01-25 04:57:44 +00:00
Fred L. Drake, Jr.
e39c6e2237 Last minute updates. 2003-01-24 18:43:20 +00:00
Fred L. Drake, Jr.
de5e0f55c8 Regenerate from xmlwf.sgml revision 1.4. 2003-01-24 18:34:59 +00:00
Fred L. Drake, Jr.
ed1d59f6b1 Explain "--" properly. 2003-01-24 18:34:03 +00:00
Fred L. Drake, Jr.
d976fa61a6 Add a clobber target. "clean" should really be less destructive, but
libtool is really a thorn with regard to this.
2003-01-24 16:21:46 +00:00
Fred L. Drake, Jr.
da325003e9 Regenerate from xmlwf.sgml. 2003-01-24 15:26:06 +00:00
Fred L. Drake, Jr.
9934dba58a - 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
2003-01-24 15:23:33 +00:00
Fred L. Drake, Jr.
5d55922080 - _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
2003-01-24 05:39:16 +00:00