cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <>
Subject [C2] Bug in xsp:element
Date Thu, 21 Dec 2000 20:31:31 GMT
There is a bug in processing the xsp:element tag when
you specify attributes with xsp:param.

For example, the following line:

  <xsp:param name="name">hr</xsp:param>

Yields the following code:

                                 this.characters("hr");, xspAttr);

Notice the embedded semicolons?

You can get around the error by changing the line to this:

  <xsp:param name="name"><xsp:expr>"hr"</xsp:expr></xsp:param>

However, this is not immediately apparent.  The XSL in the
xsp.xsl file is fairly complex on this note, and I need help
fixing this problem.

If you lust for Ham and Eggs, you have
committed breakfast in your heart
already.   -- C. S. Lewis

View raw message