From fb9a2fa00238031205e8bc869192c8d1f00a6a4f Mon Sep 17 00:00:00 2001 From: dlichteblau Date: Sat, 16 Jun 2007 11:27:18 +0000 Subject: [PATCH] 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). --- cxml.asd | 5 +- doc/index.xml | 6 + runes.asd | 10 +- runes/package.lisp | 6 +- runes/stream-scl.lisp | 253 +++++++++++++++++++++++++++ runes/ystream.lisp | 47 +++++ xml/package.lisp | 2 +- xml/unparse.lisp | 13 -- xml/xml-parse.lisp | 397 +++++++++++++++++++++--------------------- 9 files changed, 523 insertions(+), 216 deletions(-) create mode 100644 runes/stream-scl.lisp diff --git a/cxml.asd b/cxml.asd index da092da..13fe474 100644 --- a/cxml.asd +++ b/cxml.asd @@ -4,6 +4,9 @@ (defclass closure-source-file (cl-source-file) ()) +#+scl +(pushnew 'uri-is-namestring *features*) + #+sbcl (defmethod perform :around ((o compile-op) (s closure-source-file)) ;; shut up already. Correctness first. @@ -30,7 +33,7 @@ (:file "space-normalizer" :depends-on ("xml-parse")) (:file "catalog" :depends-on ("xml-parse")) (:file "sax-proxy" :depends-on ("xml-parse"))) - :depends-on (:runes :puri :trivial-gray-streams)) + :depends-on (:runes :puri #-scl :trivial-gray-streams)) (defclass utf8dom-file (closure-source-file) ((of))) diff --git a/doc/index.xml b/doc/index.xml index 7a983f6..84d80c1 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -68,6 +68,12 @@ only. The old behaviour using pairs of prefix and local names was removed. (Thanks to Douglas Crosher.) +
  • + 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). +
  • rel-2007-05-26