Thu May  6 09:56:44 EDT 2010  Russ Tyndall <russ@acceleration.net>
  * made comments appear in as strings in the parsed xmls output unless *strip-comments*

New patches:

[made comments appear in as strings in the parsed xmls output unless *strip-comments*
Russ Tyndall <russ@acceleration.net>**20100506135644
 Ignore-this: b5133099fdc9db7ac070995bd3e61f4b
] hunk ./src/tal/xmls.lisp 507
 (defrule comment ()
   (and
    (match-seq #\! #\- #\-)
-   (progn
-     (loop until (match-seq #\- #\- #\>)
-           do (eat))
-     t)
-   (make-element :type 'comment)))
+   ;; The comment markers are included in the value so that
+   ;; no further special casing of rendering comment elements
+   ;; needs to be done in (defrule element)
+   (let ((val (with-output-to-string (out-val)
+		(write-sequence "<!--" out-val)
+		(loop until (match-seq #\- #\- #\>)
+		      do (write-char (eat) out-val))
+		(write-sequence "-->" out-val))))
+     (make-element :type 'comment :val (unless *strip-comments* val)))))
 
 (defrule comment-or-cdata ()
   (and

Context:

[Added height to iframe
drewc@tech.coop**20090714041615] 
[New TAL attribute tal:let
Maciej Pasternacki <maciej@pasternacki.net>**20081101223433] 
[added ID to the XML package
attila.lendvai@gmail.com**20071126120130] 
[add an (eval-when ...) when defining a test suite
Luca Capello <luca@pca.it>**20070708215558] 
[Added tal:unless
attila.lendvai@gmail.com**20070709130522] 
[defvar *tal-truename* instead of the declare special's
attila.lendvai@gmail.com**20070625221252] 
[Cleanup: renamed some tal functions, exported a few. WARNING: this involes some API changes.
attila.lendvai@gmail.com**20070625221103] 
[Fix <:as-is quoting: do not add extra linebreaks
attila.lendvai@gmail.com**20070525094741] 
[Added <:format
attila.lendvai@gmail.com**20070524162812] 
[Implement <:ai and <:ah using their full-named versions
attila.lendvai@gmail.com**20070522124218] 
[Renamed <:as-html to <:as-xml, <:as-xml is the canonical escaping primitive
attila.lendvai@gmail.com*-20070515223356] 
[Fix <:param
attila.lendvai@gmail.com**20070521201023] 
[Added a tal::content-as-is
attila.lendvai@gmail.com**20070517231216] 
[Renamed <:as-html to <:as-xml, <:as-xml is the canonical escaping primitive
attila.lendvai@gmail.com**20070515223356] 
[Support a :prologue and a :doctype attribute for <:html
attila.lendvai@gmail.com**20070507114044] 
[Added +xhtml-...-doctype+ constants
attila.lendvai@gmail.com**20070507100204] 
[Re-added the (@ runtime-variable-holding-the-attributes) syntax
attila.lendvai@gmail.com**20070424213602
 Things like this are possible again:
 
 (let ((attrs (list :runtime (+ 2 2))))
   {yaclml:with-xml-syntax
     <foo (@ attrs) (@ :fooo 11 :baaaar 22) (@ attrs) >})
 
 <<foo runtime="4" fooo="11" baaaar="22" runtime="4"
 />
] 
[Added assert for mandatory attribute names being symbols
attila.lendvai@gmail.com**20070219131141] 
[Removed workaround needed for old sbcl's
attila.lendvai@gmail.com**20070212002044] 
[Added public -tal-environment- and tal-value
attila.lendvai@gmail.com**20070212001949] 
[Added &allow-custom-attributes and cleaned up handling of the (@ ...) attribute syntax.
attila.lendvai@gmail.com**20070204233038
 
 Now &allow-other-attributes implies &allow-custom-attributes and the other-attrbiute-list
 also contains the custom attrbiutes. Propagating custom attributes e.g. from <ucw:input to
 <:input is now possible by adding an extra (@ ,@others) entry.
 
 The (@ runtime-variable-holding-a-list-of-attributes) syntax is temporarily removed. Should
 be readded in a later patch.
 
 Also changed the internal representation other attributes from list of cons to setf-like
 list of pairs.
] 
[Remove bugous js comment //'s from <:as-is :quotedp t
attila.lendvai@gmail.com**20060813232705] 
[Added xml and xlink namespaces to *uri-to-package*
attila.lendvai@gmail.com**20070210211649] 
[Fix <:embed, allow any kind of attribute
attila.lendvai@gmail.com**20070210210917] 
[FIX: small misuse of unwind-protect in the xml-syntax
attila.lendvai@gmail.com**20070204233111] 
[TAG 2006-12-20
attila.lendvai@gmail.com**20061220144219] 
Patch bundle hash:
50ae456d15517fc88968863fa20f1d40f956c898
