From: Kevin M. Rosenberg Date: Wed, 16 Oct 2002 06:01:48 +0000 (+0000) Subject: r3045: *** empty log message *** X-Git-Tag: v1.96~318 X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=commitdiff_plain;h=c15cf85d501d4787024dfbd01af69ce1ba836e36 r3045: *** empty log message *** --- diff --git a/debian/changelog b/debian/changelog index 0e828ac..efce163 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-kmrcl (1.13-1) unstable; urgency=low + + * ml-class.lisp: Add ie-xmlrefformat for Internet Explorer's idea of + a link in XML. + + -- Kevin M. Rosenberg Tue, 15 Oct 2002 23:23:57 -0600 + cl-kmrcl (1.12-1) unstable; urgency=low * Fix .asd file if CL-ASERVE is not installed diff --git a/ml-class.lisp b/ml-class.lisp index 949190b..c3d2040 100644 --- a/ml-class.lisp +++ b/ml-class.lisp @@ -11,7 +11,7 @@ ;;;; in Text, HTML, and XML formats. This includes hyperlinking ;;;; capability and sub-objects. ;;;; -;;;; $Id: ml-class.lisp,v 1.12 2002/10/14 20:55:12 kevin Exp $ +;;;; $Id: ml-class.lisp,v 1.13 2002/10/16 05:57:12 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -324,6 +324,7 @@ Format is ((field-name field-lookup-func other-link-params) ...)") (defparameter *default-htmlrefformat* nil) (defparameter *default-xmlformat* nil) (defparameter *default-xmlrefformat* nil) +(defparameter *default-ie-xmlrefformat* nil) (defparameter *default-nullformat* nil) (defparameter *default-init-format?* nil) @@ -334,6 +335,7 @@ Format is ((field-name field-lookup-func other-link-params) ...)") (setq *default-htmlrefformat* (make-instance 'htmlrefformat)) (setq *default-xmlformat* (make-instance 'xmlformat)) (setq *default-xmlrefformat* (make-instance 'xmlrefformat)) + (setq *default-ie-xmlrefformat* (make-instance 'ie-xmlrefformat)) (setq *default-nullformat* (make-instance 'nullformat)) (setq *default-init-format?* t)) @@ -342,7 +344,9 @@ Format is ((field-name field-lookup-func other-link-params) ...)") (:html *default-htmlformat*) (:htmlref *default-htmlrefformat*) (:xml *default-xmlformat*) + (:xml *default-xmlformat*) (:xmlref *default-xmlrefformat*) + (:ie-xmlref *default-ie-xmlrefformat*) (:null *default-nullformat*) (otherwise *default-textformat*))) @@ -472,10 +476,17 @@ Format is ((field-name field-lookup-func other-link-params) ...)") (defclass xml-link-ref (link-ref) () (:default-initargs :fmtstr #'ml-class-fmtstr-xml-ref - :fmtstr-labels #'ml-class-fmtstr-xml-ref-labels - :href-head "xmllink xlink:type=\"simple\" xlink:href=" - :href-end "xmllink" - :ampersand "&")) + :fmtstr-labels #'ml-class-fmtstr-xml-ref-labels + :href-head "xmllink xlink:type=\"simple\" xlink:href=" + :href-end "xmllink" + :ampersand "&") + (:documentation "Mozilla's and W3's idea of a link with XML")) + +(defclass ie-xml-link-ref (xml-link-ref) + () + (:default-initargs :href-head "html:a href=" + :href-end "html:a" ) + (:documentation "Internet Explorer's idea of a link with XML")) (defclass htmlrefformat (htmlformat) @@ -486,6 +497,10 @@ Format is ((field-name field-lookup-func other-link-params) ...)") () (:default-initargs :link-ref (make-instance 'xml-link-ref))) +(defclass ie-xmlrefformat (xmlformat) + () + (:default-initargs :link-ref (make-instance 'ie-xml-link-ref))) + ;;; File Start and Ends