File: index.xml

package info (click to toggle)
cl-cxml 20110619-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 888 kB
  • sloc: lisp: 9,331; xml: 1,925; sh: 32; makefile: 18
file content (261 lines) | stat: -rw-r--r-- 10,302 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<documentation title="Closure XML">
    <h1>Closure XML Parser</h1>

    <p>An XML parser written in Common Lisp.</p>

    <p>
      Closure XML was written
      by <a href="http://www.stud.uni-karlsruhe.de/~unk6/">Gilbert
      Baumann</a> as part of the Closure web browser and is now
      maintained by
      <a href="mailto:david@lichteblau.com">David Lichteblau</a>.
      It is licensed under Lisp-LGPL.
    </p>      

    <p>
      CXML implements a <a
      href="http://www.w3.org/TR/REC-xml-names/">namespace-aware</a>,
      validating <a
      href="http://www.w3.org/TR/2000/REC-xml-20001006">XML&#160;1.0</a>
      parser as well as the <a
      href="http://www.w3.org/TR/DOM-Level-2-Core/">DOM&#160;Level&#160;2&#160;Core</a>
      interfaces.  Two parser interfaces are offered, one SAX-like, the
      other similar to StAX.
    </p>

    <p>
      Send bug reports to <a
      href="mailto:cxml-devel@common-lisp.net">cxml-devel@common-lisp.net</a>
      (<a
      href="http://common-lisp.net/cgi-bin/mailman/listinfo/cxml-devel">list
      information</a>).
    </p>

    <h3>Add-on features</h3>
    <p>
      The following libraries are available as separate downloads:
    </p>
    <ul style="list-style-type: square">
      <li>
	<a href="http://www.lichteblau.com/cxml-rng/">cxml-rng</a>:
	Relax NG validation
      </li>
      <li>
	<a href="http://www.lichteblau.com/cxml-stp/">cxml-stp</a>:
	STP, an alternative to DOM
      </li>
      <li>
	<a href="http://common-lisp.net/project/plexippus-xpath/">Plexippus</a>:
	XPath 1.0
      </li>
      <li>
	<a href="http://common-lisp.net/project/xuriella/">Xuriella</a>:
	XSLT 1.0
      </li>
      <li>
	<a href="http://common-lisp.net/project/closure/closure-html/">Closure
	  HTML</a>:
	parse HTML 4; convert between HTML and XHTML
      </li>
    </ul>

    <a name="changes"/>
    <h3>Recent Changes</h3>
    <div style="background-color: #f7f7f7;
		width: 60%;
		border: solid #9c0000;
		margin: 0em 2pt 1em 2em;
		padding: 1em">
      cxml and closure-common are now available from <b>git</b> instead of CVS.
      Please refer to the <a href="installation.html#download">
      installation instructions</a> for details.
    </div>
    <p class="nomargin"><tt>rel-2008-11-30</tt></p>
    <ul class="nomargin">
      <li>
	Support for user-specified output encodings
	using <a href="http://common-lisp.net/project/babel/">Babel</a>.
      </li>
      <li>
	More support for input encodings, thanks to Pierre Mai.
      </li>
      <li>
	Lisps using full 21 bit code points as characters are now fully
	supported (including SBCL and Clozure CL) addition to the
	existing support for 16 bit characters using UTF-16 (including
	Allegro and LispWorks).  The feature <tt>rune-is-utf-16</tt> is
	now set on 16 bit Lisps. Make sure to update and
	recompile both cxml and closure-common when upgrading.
      </li>
      <li>
	New sink slot sink-omit-xml-declaration-p; functions cxml:unescaped
	and sax:unescaped.
      </li>
      <li>
	Added XPath support to the XMLS compatibility model.
      </li>
      <li>
	Fixed various DTD serialization bugs.  Fixed xmls compatibility
	bugs.  Fixed variable names in with-source.  Fixed klacks-error
	export.  Consistently use strings as base URIs.  Fixed PARSE for
	non-file-streams.  Added support for the UTF-8 "BOM", thanks to
	Ivan Shvedunov.
      </li>
    </ul>
    <br/><br/>
    <div style="background-color: #f7f7f7;
		width: 60%;
		border: solid #9c0000;
		margin: 0em 2pt 1em 2em;
		padding: 1em">
      Runes have been moved into a <b>separate project</b>,
      named <b>closure-common</b>.  Releases will be available
      as <b>separate tarballs</b> in the download directory.  Please
      refer to the <a href="installation.html#download"> installation
      instructions</a> for details.
    </div>
    <p class="nomargin"><tt>rel-2007-10-21</tt></p>
    <ul class="nomargin">
      <li>
	Moved runes into a separate project.
      </li>
      <li>
	Incompatible SAX changes: Added new classes
	sax:abstract-handler, sax:content-handler, sax:default-handler.
	Implementations of SAX handlers should now subclass one of
	these classes.
      </li>
      <li>
	fixed make-source :buffering nil, thanks to Magnus Henoch for
	the report
      </li>
      <li>
	fixed time and space usage in cases where entity references
	follow each other (thanks to Ivan Shvedunov for the report)
      </li>
      <li>
	In the DOM builder, grow a buffer for string normalization
	exponentially, fixing a long-standing speed issue.
      </li>
    </ul>
    <p class="nomargin"><tt>rel-2007-08-05</tt></p>
    <ul class="nomargin">
      <li>Various DTD serialization fixes</li>
      <li>UTF-8 fix, thanks to Francis Leboutte</li>
    </ul>
    <p class="nomargin"><tt>rel-2007-07-07</tt></p>
    <ul class="nomargin">
      <li>
	Fixed build on non-Unicode lisps.  Fixed parsing on
	non-Unicode lisps.  Fixed Unicode detection on OpenMCL.
      </li>
      <li>New function <tt>cxml:parse</tt>.</li>
      <li>Serialization no longer defaults to canonical form.</li>
      <li>Fixed octet array argument to make-source.</li>
      <li>
	XMLS compatibility is not <i>bug-for-bug</i>-compatible with
	XMLS any more.  There is now a mode using pairs of local name
	and namespace URI, and a second mode using qualified names
	only.  The old behaviour using pairs of prefix and local names
	was removed.  (Thanks to Douglas Crosher.)
      </li>
      <li>
	SCL support (thanks to Douglas Crosher).  Includes support for
	implementations where URIs are valid namestrings, and a mode
	where normal streams are used instead of xstreams and ystreams
	(albeit both SCL-specific at this point).
      </li>
      <li>new convenience serialization function cxml:doctype.  Various
	DTD serialization fixes.</li>
    </ul>
    <p class="nomargin"><tt>rel-2007-05-26</tt></p>
    <ul class="nomargin">
      <li>cxml.asd has been split up into <tt>cxml.asd</tt> for the
      XML parser and <tt>runes.asd</tt> for the runes package, in
      preparation of a complete split of the two systems.  Future CXML
      releases will use separate tarballs for <tt>runes</tt>
      and <tt>cxml</tt>.</li>
      <li>xml:base support (SAX and Klacks only, not yet used in DOM).
      See documentation <a href="sax.html#saxparser">here</a> and <a
      href="klacks.html#locator">here</a>.</li>
      <li>New class <tt>broadcast-handler</tt> as a generalization
      of the older <tt>sax-proxy</tt>.</li>
      <li>New class <tt>tapping-source</tt>, a klacks source that
      relays events from an upstream klacks source unchanged, while also
      emitting them as SAX events to a user-specified handler at the
      same time.</li>
      <li>Changed attributes to carry an lname even when occurring
      without a namespace.  Added new functions attribute*,
      unparse-attribute, and macro with-element*, with-namespace* to
      the SAX generation wrapper API.</li>
      <li>Klacks improvements: Incompatibly changed
      klacks:find-element and find-event to consider the current event
      as a result.  Added klacks-error, klacks:expect, klacks:skip,
      klacks:expecting-element.  Fixed serialize-event to generate
      start-prefix-mapping and end-prefix-mapping events.  New function
      map-current-namespace-declarations.</li>
      <li>fixed build with common-lisp-controller</li>
    </ul>
    <p class="nomargin"><tt>rel-2007-02-18</tt></p>
    <ul class="nomargin">
      <li>New StAX-like parser interface.</li>
      <li>Serialization fixes (thanks to Nathan Bird, Donavon Keithley).</li>
      <li>characters.lisp cleanup (thanks to Nathan Bird).</li>
      <li>Namespace normalizer bugfixes.</li>
      <li>Minor changes: clone-node on document as an extension.  DOM
      class hierarchy reworked.  New function parse-empty-document.
      Fixed the DOM serializer to not throw away local names.
      Fixed a long-standing bug in the parser for documents without a
      doctype. ANSI conformance fixes.</li>
    </ul>
    <p class="nomargin"><tt>rel-2006-01-05</tt></p>
    <ul class="nomargin">
      <li>Implemented DOM 2 Core.</li>
      <li>Error handling overhaul.</li>
      <li>UTF-8 string support in DOM on Lisps without Unicode characters.</li>
      <li>Sink API has been changed.</li>
      <li>Support internal subset serialization.</li>
      <li>Whitespace normalizer.</li>
      <li>Gilbert Baumann has clarified the license as Lisp-LGPL.</li>
      <li>Use trivial-gray-streams.</li>
    </ul>
    <p class="nomargin"><tt>rel-2005-06-25</tt></p>
    <ul class="nomargin">
      <li>Port to OpenMCL (thanks to Rudi Schlatte).</li>
      <li>Port to LispWorks (thanks to Edi Weitz).</li>
      <li>Minor new features: <tt>include-default-values</tt> argument to
      <tt>make-xmls-builder</tt>; <tt>handler</tt> argument
      to <tt>parse-dtd-stream</tt>; SAX proxy class</li>
      <li>Various bugfixes.</li>
    </ul>
    <p class="nomargin"><tt>patch-357</tt> (2004-10-10)</p>
    <ul class="nomargin">
      <li>Auto-detect unicode support for better asdf-installability.</li>
      <li>Use the puri library for Sys-ID handling.</li>
      <li>Semi-automatic caching of DTD instances.</li>
      <li>Support user-defined entity resolvers.</li>
      <li>Support for Oasis XML Catalogs.</li>
      <li>xhtmlgen version of Franz htmlgen.</li>
      <li>Fixes for SBCL's unicode support.</li>
    </ul>
    <p class="nomargin"><tt>patch-306</tt> (2004-09-03)</p>
    <ul class="nomargin">
      <li>Event-based serialization which does not require DOM documents</li>
      <li>XMLS compatiblity</li>
      <li>minor bugfixes (thread safety; should work on clisp again)</li>
    </ul>
    <p class="nomargin"><tt>patch-279</tt> (2004-05-11)</p>
    <ul class="nomargin">
      <li>Validation</li>
      <li>bugfixes; XHTML DTD parses again; corrected SAX entity handling</li>
    </ul>
    <p class="nomargin"><tt>patch-204</tt></p>
    <ul class="nomargin">
      <li>Renamed package <tt>XML</tt> to <tt>CXML</tt>.</li>
      <li>The unparse functions support non-canonical output now.</li>
    </ul>
    <p class="nomargin"><tt>patch-191</tt> (2004-03-18)</p>
    <ul class="nomargin">
      <li>Initial release.</li>
    </ul>
</documentation>