Sebastian Pipping
f75a40cbae
xmlwf|tests: Repeat L string prefix to fix compilation
2017-10-04 22:55:42 +02:00
Sebastian Pipping
41cc68cb67
xmlwf.c: Fix code indentation
2017-10-04 21:14:10 +02:00
Sebastian Pipping
7b3f902a69
Make wmain work with MinGW
2017-09-09 18:59:29 +02:00
Sebastian Pipping
df75ab14f4
xmlwf: Indent preprocessor code
2017-09-09 18:21:18 +02:00
Rhodri James
742fbf024f
Make xmlwf build with XML_UNICODE_WCHAR_T on MinGW
...
This seems to need some extra mangling of Makefile.am for MinGW.
* Add "-mwindows" to AM_CPPFLAGS
* Add "AM_LDFLAGS = -municode"
Running the XML tests (xmltest.sh) is problematic: it needs a
unicode-aware differ for starters
2017-09-04 14:29:39 +01:00
Sebastian Pipping
e4661bfb85
xmlwf: Address Clang Static Analyzer warning
2017-08-28 21:38:44 +02:00
Sebastian Pipping
0b44900fcb
xmlwf.c: Address unused parameter warning
2017-08-22 23:15:05 +02:00
Rhodri James
0abf000fa4
Plug memory leak in xmlwf's end of doctype declaration handler
2017-08-22 23:14:55 +02:00
Rhodri James
e424d3fb6a
Fix formatting and message re-use
2017-08-22 23:14:55 +02:00
Rhodri James
1726204ce2
Rename xmlCharDup to xcsdup and tighten up the code
2017-08-22 23:14:54 +02:00
Rhodri James
59d81f517d
Move static variables into a userdata structure
2017-08-22 22:21:10 +02:00
Rhodri James
0da3d1b5bf
Add command-line arg "-N" to xmlwf to add notations to test output
...
...and use it in xmltest.sh
2017-08-22 22:21:10 +02:00
Rhodri James
688ecaa7ab
Sort notations by name in xmlwf for conformance tests
2017-08-22 22:21:10 +02:00
Rhodri James
b07794f371
Add doctype and notation handlers to xmlwf for conformance tests
2017-08-22 21:52:48 +02:00
Sebastian Pipping
a704c940a4
Inline copyright headers with C/C++ code where missing ( #116 )
2017-08-12 21:02:41 +02:00
Sebastian Pipping
4f862dddf9
examples|tests|xmlwf: Drop AmigaOS 4.x include (issue #14 )
2017-06-07 20:31:15 +02:00
Sebastian Pipping
8f25f91e9e
Replace WIN32 by _WIN32 in code
2017-05-25 15:25:18 +02:00
Sebastian Pipping
766a485e62
Drop Open Watcom specific code (issues #14 and #21 )
2017-05-01 13:38:40 +02:00
Sebastian Pipping
87b38b775d
Handle XML_ParserCreate* NULL return
...
Pointed out by Pascal Cuoq
2016-06-18 23:09:20 +02:00
Sebastian Pipping
69746f5ab2
Address all "unused parameter" warnings
2016-05-07 17:24:35 +02:00
Sebastian Pipping
fe432127ab
Fix source code permissions
...
Files had executable flag turn on, previously.
https://bugzilla.redhat.com/show_bug.cgi?id=1247348
2016-03-12 05:21:47 +01:00
Sebastian Pipping
a3b925a46e
xmlwf: Sync usage help with man page and code
2016-03-11 23:22:51 +01:00
Karl Waclawek
1c0c10b52a
Fix for issue #2517938 : xmlwf should return a non-zero code for parsing errors.
2009-01-19 00:19:47 +00:00
Steven Solie
220b5e566d
Removed need for amiga_main().
2007-06-03 15:00:09 +00:00
Karl Waclawek
d6075d6b5e
No more search for (back)slashes in the string "STDIN".
...
Optimized code with regards to use of path delimters on different platforms.
2007-04-30 00:50:22 +00:00
Karl Waclawek
e3e0d28628
Applied patrch #1523242 - support for Open Watcom 1.5.
2006-08-05 17:01:43 +00:00
Karl Waclawek
1d17d4f9f4
Casting away some integer conversion warnings that should not pose a problem.
2006-04-14 17:53:03 +00:00
Karl Waclawek
85c092da87
Removed newly added include directives of configuration header files.
...
They seem to be unnecessary.
2005-12-25 17:06:22 +00:00
Karl Waclawek
d707e890ea
* Added integer modifier macro to support 64-bit integers in printf.
...
* Made include directives to be in sync with xmlparse.c.
2005-12-25 16:56:05 +00:00
Steven Solie
607730d3fe
*** empty log message ***
2005-12-24 06:39:56 +00:00
Karl Waclawek
b7154acf0a
Added type casts necessary for compiling as C++ file (at least under VC++).
2004-08-10 18:18:25 +00:00
Fred L. Drake, Jr.
2bba3d20f5
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.
2003-10-15 16:25:44 +00:00
Fred L. Drake, Jr.
ad0e1a943b
Elaborate the XML_GetFeatureList() API a bit, and add additional info
...
that may be needed by a hughly flexible client. (Or at least used to check
that the Expat that it links to matches client expectations.)
2002-09-05 01:48:26 +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.
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
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.
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.
65ab1317a4
De-tabify; minor code-style consistency changes.
2002-07-01 15:13:02 +00:00
Fred L. Drake, Jr.
ad5481c9f5
Using "0" instead of "NULL" is insane, and leads to unmaintainable code.
2002-05-17 17:21:51 +00:00
Fred L. Drake, Jr.
ad358dec9e
Check in SF patch #488196 : Make xmlwf read from standard input.
...
This modifies the patch for style (slightly).
The style of these files is also slightly modified in an attempt to create
more consistency. (But that mostly swamps the feature patch.)
2002-04-19 21:41:54 +00:00
Fred L. Drake, Jr.
276e2517e0
Wrap some long lines.
2002-04-19 16:19:33 +00:00
Fred L. Drake, Jr.
5ca5c566a6
Add a -v option to cause xmlwf to report the version of Expat (hence the
...
version of xmlwf).
2001-12-05 16:30:31 +00:00
Clark Cooper
63d2f68760
Switch to using MANIFEST to build distribution.
...
Also fix xmlwf to use current entity declaration signature.
2000-09-28 19:47:35 +00:00
Clark Cooper
c446fb274e
Merged in modifications from perl-expat. Also fiddled around with more
...
configuration issues.
2000-09-21 21:20:18 +00:00
Clark Cooper
c135be083d
These are the first check-ins for the libexpat task: create configuration
...
files and setup for building a shareable libexpat.
2000-09-18 16:26:23 +00:00
James Clark
dfd331cf71
Report parsed entity declarations
2000-05-12 05:56:27 +00:00
James Clark
8fd4a83318
Fix screwup in changing copyright notices
2000-04-21 04:20:31 +00:00
James Clark
4e9aea4c1b
New license and site
2000-04-21 03:58:42 +00:00
James Clark
3923164dc2
Support reporting of ID attributes.
2000-04-14 10:53:33 +00:00
James Clark
ab5acbf509
Added start/endDoctypeDeclHandlers
1999-07-28 09:34:18 +00:00