Output encoding support, using Babel

This commit is contained in:
David Lichteblau
2008-04-13 16:48:24 +02:00
committed by David Lichteblau
parent 6a4a3be00f
commit 4c11d5b68a
5 changed files with 324 additions and 217 deletions

View File

@ -61,21 +61,33 @@
</li>
</ul>
<a name="changes"/>
<h3>Recent Changes</h3>
<p class="nomargin"><tt>rel-2007-10-21</tt></p>
<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-xx-yy</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>
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.<br/><br/> Make sure to update and
now set on 16 bit Lisps. Make sure to update and
recompile both cxml and closure-common when upgrading.
</li>
<li>
New sink slot omit-xml-declaration-p; functions cxml:unescaped
New sink slot sink-omit-xml-declaration-p; functions cxml:unescaped
and sax:unescaped.
</li>
<li>
@ -83,22 +95,23 @@
</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.
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 now been moved into
a <b>separate CVS module</b> unter the
name <b>closure-common</b>. Releases will be available
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.
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">

View File

@ -3,19 +3,21 @@
<a name="download"/>
<h2>Download</h2>
<ul>
<li>
<div>Download <a href="http://common-lisp.net/project/cxml/download/">tarballs</a> for both cxml itself and closure-common.</div>
</li>
<li>
<div>
Or use anonymous CVS (<a href="http://common-lisp.net/cgi-bin/viewcvs.cgi/cxml/?cvsroot=cxml">browse</a>):
<pre>export CVSROOT=:pserver:anonymous:anonymous@common-lisp.net:/project/cxml/cvsroot
cvs co cxml
cvs co closure-common</pre>
</div>
</li>
</ul>
<p>
Download <a href="http://common-lisp.net/project/cxml/download/">tarballs</a> for both cxml itself and closure-common.
</p>
<p>
Or get it from git:
</p>
<p>
<tt>git clone git://repo.or.cz/cxml.git</tt>
(<a href="http://repo.or.cz/w/cxml.git">gitweb</a>)
<br/>
<tt>git clone git://repo.or.cz/closure-common.git</tt>
(<a href="http://repo.or.cz/w/closure-common.git">gitweb</a>)
<br/>
</p>
<a name="implementations"/>
<h2>Implementation-specific notes</h2>
@ -42,12 +44,20 @@ cvs co closure-common</pre>
<p>
<b>Prerequisites.</b>
CXML needs <a href="http://www.cliki.net/Puri">puri</a> and
<a href="http://www.common-lisp.net/project/cl-plus-ssl/#trivial-gray-streams">trivial-gray-streams</a>.
In addition,
<a href="http://www.cliki.net/closure-common">closure-common</a>
is required, which is a separate module in cxml CVS (see above for
check-out instructions).
CXML needs:
<ul>
<li><a href="http://www.cliki.net/Puri">puri</a></li>
<li><a href="http://www.common-lisp.net/project/cl-plus-ssl/#trivial-gray-streams">trivial-gray-streams</a></li>
<li>
<a href="http://common-lisp.net/project/babel/">Babel</a>
(on Unicode-capable Lisps only)
</li>
<li>
<a href="http://www.cliki.net/closure-common">closure-common</a>
is maintained together with cxml but available as a separate
download (see above for check-out instructions).
</li>
</ul>
</p>
<p>

View File

@ -297,6 +297,14 @@
<li>
<tt>indentation</tt> -- indentation level. An integer or <tt>nil</tt>.
</li>
<li>
<tt>encoding</tt> -- the character encoding to use. A string or
keyword. <tt>nil</tt> is also allowed and means UTF-8.
</li>
<li>
<tt>omit-xml-declaration-p</tt> -- Boolean. Don't write an XML
declaration.
</li>
</ul>
<p>
The following <tt>canonical</tt> values are allowed: