new test case

This commit is contained in:
David Lichteblau
2008-05-16 17:01:27 +02:00
committed by David Lichteblau
parent 77d915505e
commit 1a3e364d94
2 changed files with 18 additions and 4 deletions

View File

@ -48,12 +48,10 @@
<a href="http://common-lisp.net/project/plexippus-xpath/">Plexippus</a>: <a href="http://common-lisp.net/project/plexippus-xpath/">Plexippus</a>:
XPath 1.0 XPath 1.0
</li> </li>
<!--
<li> <li>
<a href="http://repo.or.cz/w/xuriella.git">Xuriella</a>: <a href="http://common-lisp.net/project/xuriella/">Xuriella</a>:
XSLT 1.0 (work in progress) XSLT 1.0
</li> </li>
-->
<li> <li>
<a href="http://common-lisp.net/project/closure/closure-html/">Closure <a href="http://common-lisp.net/project/closure/closure-html/">Closure
HTML</a>: HTML</a>:

View File

@ -27,3 +27,19 @@
(doit 32 #xD800) (doit 32 #xD800)
(doit #x10000 char-code-limit) (doit #x10000 char-code-limit)
(values))) (values)))
;; <4824D34F.5000002@acceleration.net>
(deftest chtml-encoding
(with-output-to-string (stream)
(let ((doc (dom:create-document
'rune-dom:implementation
nil nil
(dom:create-document-type
'rune-dom:implementation
"html"
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"))))
(dom:map-document (chtml:make-character-stream-sink stream)
doc
:include-xmlns-attributes nil
:include-doctype :full-internal-subset))))