DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42762





------- Additional Comments From [EMAIL PROTECTED]  2007-06-28 06:24 -------
(In reply to comment #2)
> Image URLs aren't properly rewritten:
> 
> <img src="tutorial/lenya-document:d8758a70-2577-11dc-94d6-bc82d05e55eb" ... />

The problem is in

modules/kupu/resources/kupu/apache-lenya/lenya/content2edit.xsl

We have to check for lenya-document URLs:

   <xsl:template name="object2img">
      <img border="0">
        <xsl:attribute name="src">
          <xsl:choose>

            <!-- don't change lenya-document URLs -->
            <xsl:when test="starts-with(@data, 'lenya-document:')">
              <xsl:value-of select="@data"/>
            </xsl:when>

            <xsl:when test="not(starts-with(@data, '/'))">
              <xsl:value-of select="$nodeid"/>/<xsl:value-of select="@data"/>
            </xsl:when>
            <xsl:otherwise>            
              <xsl:value-of select="@data"/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:attribute>


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to