X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=xml-utils.lisp;h=fc80feb77e33ae86904fcfc6677cb4c324412a99;hp=860d6750a4e4a7e28686a2c4e2f6419935975558;hb=3ca593ad0ad02da7ebfd270523795674d6458ad3;hpb=03712fbb06acbb103602bae10f41aeae7fa05127 diff --git a/xml-utils.lisp b/xml-utils.lisp index 860d675..fc80feb 100644 --- a/xml-utils.lisp +++ b/xml-utils.lisp @@ -7,8 +7,6 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; ;;;; KMRCL users are granted the rights to distribute and use this software @@ -83,6 +81,8 @@ and position of character following end tag." (defun write-cdata (str s) (declare (simple-string str) (optimize (speed 3) (safety 0) (space 0))) + (unless str + (return-from write-cdata nil)) (do ((len (length str)) (i 0 (1+ i))) ((= i len) str) @@ -173,4 +173,3 @@ and position of character following end tag." :organization organization :type type :label label :language language :url url :entities entities)) stream) -