The following issue has been updated:
Updater: Juan Jose Pablos (mailto:cheche@che-che.com)
Date: Fri, 6 Jun 2003 3:00 PM
Comment:
simple sdocbook file with all the element supported under the figure element
Changes:
[Attachment] [title-error.xml] was added
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-41&page=history
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-41
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-41
Summary: Element TITLE passed on the tranformation from sdocbook to document v11
Type: Bug
Status: Unassigned
Priority: Major
Project: Forrest
Component: None
Versions:
HEAD
Assignee:
Reporter: Juan Jose Pablos
Created: Fri, 6 Jun 2003 2:58 PM
Updated: Fri, 6 Jun 2003 3:00 PM
Environment: Linux 2.4.18 i686
java version "1.4.1_01"
Description:
Given a sdocbook format with an image the title element on the figure context is copied across.
So it produce an invalid HTML code.
I found the part that creates this problem:
<xsl:template match="figure">
<table>
<tr>
<td>
<xsl:value-of select="title"/>
</td>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
But I do not know of a way to ignore just the title element and select everything else.
This patch would fix it, but I am not 100% sure if this is how you wanted to do it.
===================================================================
RCS file: /home/cvspublic/xml-forrest/src/resources/stylesheets/docbook2document.xsl,v
retrieving revision 1.9
diff -u -r1.9 docbook2document.xsl
--- docbook2document.xsl 1 Jun 2003 09:35:13 -0000 1.9
+++ docbook2document.xsl 6 Jun 2003 12:57:27 -0000
@@ -446,7 +446,13 @@
<xsl:value-of select="title"/>
</td>
</tr>
- <xsl:apply-templates/>
+ <xsl:apply-templates select="blockquote"/>
+ <xsl:apply-templates select="informaltable"/>
+ <xsl:apply-templates select="link"/>
+ <xsl:apply-templates select="literallayout"/>
+ <xsl:apply-templates select="mediaobject"/>
+ <xsl:apply-templates select="programlisting"/>
+ <xsl:apply-templates select="ulink"/>
</table>
</xsl:template>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|