X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=views.lisp;h=b9097a1f93f47b62402edf51c58f7cd96766aac9;hb=abbf89f03cec17db594badafbaee4f5e1400ba94;hp=4b0867e0ca5ec3b19cb40e2f9467a9f6854ef654;hpb=fb79a796c6ff0b90aedc377a804b48a7b543f65b;p=hyperobject.git diff --git a/views.lisp b/views.lisp index 4b0867e..b9097a1 100644 --- a/views.lisp +++ b/views.lisp @@ -7,15 +7,12 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: views.lisp,v 1.47 2003/05/22 21:03:52 kevin Exp $ +;;;; $Id: views.lisp,v 1.50 2003/06/06 21:59:29 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* -(in-package :hyperobject) - -(eval-when (:compile-toplevel :execute) - (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2)))) +(in-package #:hyperobject) (defclass object-view () @@ -177,12 +174,10 @@ (let* ((slot-data (slot-value obj name)) (fmt-data (if formatter (funcall formatter slot-data) - slot-data)) - (data (if cdata - (kmrcl:xml-cdata fmt-data) - fmt-data))) - (write-simple data strm))) - + slot-data))) + (if cdata + (write-xml-cdata fmt-data strm) + (write-simple fmt-data strm)))) (defun ppfc-html (title name type formatter cdata print-func) (vector-push-extend '(write-string "