[cxml-devel] MAYBE-EMIT-START-TAG needed in CDATA?

Donavon Keithley keithley at easystreet.com
Thu May 4 20:05:45 UTC 2006


The cdata function seems to be emitting outside its enclosing tag.  For 
instance:

  (with-element "document" (with-element "foo" (cdata "bar")))

results in:

  <document>
    <![CDATA[bar]]>
    <foo/>
  </document>

I'm not too familiar with the CXML internals yet, but it appears that adding 
'(maybe-emit-start-tag)' to the top of the cdata function fixes this.

Sound right?

Donavon Keithley



More information about the cxml-devel mailing list