1
================================================================================
3
Expat XML Parser - version 2.0.0
4
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
6
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
8
Expat - Version 2.0.0 Release Milano 0.83 (PasExpat 2.0.0 RM0.83)
9
Pascal Port By: Milan Marusinec alias Milano
11
http://www.pasports.org/pasexpat
14
================================================================================
16
================================================================================
18
Expat is an XML parser library written in C. It is a stream-oriented parser
19
in which an application registers handlers for things the parser might find
20
in the XML document (like start tags).
22
Read more at: http://expat.sourceforge.net
24
This version of Expat library is the Object Pascal one and this Readme Note
25
is dealing with issues mainly around the Pascal version.
27
================================================================================
29
================================================================================
31
Expat can be currently compiled on the platforms with compilers
32
according to the following matrix:
34
+----------------------+---------------------+---------------------+
35
| Platform / Compiler | Free Pascal (FPC) | Delphi (Borland) |
36
+======================+=====================+=====================+
37
| Windows Win32 API | versions 2.0 and up | versions 2.0 and up |
38
+----------------------+---------------------+---------------------+
39
| Linux X11 | versions 2.0 and up | * no support * |
40
+----------------------+---------------------+---------------------+
41
| Mac OS X Carbon | versions 2.0 and up | * no support * |
42
+----------------------+---------------------+---------------------+
44
================================================================================
46
================================================================================
48
The Object Pascal version (PasExpat) was created for the main reason of having
49
a pascal version of the library when porting the SVG demo example in the AggPas
50
porting project, which was dependant on Expat for C.
52
This port is based on the C version 2.0.0, which was officialy released
55
PasExpat port is the pure manual work. There were used no c_to_pascal conversion
56
utilities and the port is the native-one, which means it uses no external dll
57
bindings - it's all just the native pascal code.
59
This Pascal library is an unfinished version marked as 0.83, which means
60
it is approximately 83% of the functionality of the original C library.
62
To use the library, just include the "expat" keyword into the uses clause.
64
General Pascal port Issues
65
==========================
67
Source code comment marks:
69
Here and there around the PasExpat source code, following comment marks
72
{untested} - unit or procedure/function, which was ported but not tested
74
{not_implemented} - procedure/function, which was not ported, because
75
related features were not implemented in port
77
{hack} - marks some nonstandard solution
79
{..} - part of the code, which is unfinished.
83
The "expat_mode.inc" is the main compiler mode configuration file.
84
The only one item, you would wish to change is the EXPAT_DEBUG conditional,
85
which turns on/off the debug mode compilation settings. With the
86
EXPAT_DEBUG not defined the range checking for example is turned off,
87
which should lead to building the faster and smallest code.
89
================================================================================
91
================================================================================
93
As I said, this version is rather unfinished but sufficient for the AggPas
94
SVG demo to work. In the near future, I am not gonna finish it, but if someone
95
would need it with full functionality, I suggest to pick up this 0.83 release
102
================================================================================
104
================================================================================