Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Fri, 17 Oct 2003 12:56 AM

Applied in xdoc 1.5-SNAPSHOT.
Not too much of a gain though :-(
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-940


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-940
    Summary: Too much whitespace in site.jsl script
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-xdoc
   Fix Fors:
             1.0-rc2
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Paul Strack

    Created: Thu, 16 Oct 2003 9:32 AM
    Updated: Fri, 17 Oct 2003 12:56 AM
Environment: Any

Description:
There is too much whitespace in the site.jsl Jelly script that converts xdocs to HTML. 
This results in some ugly HTML option (especially when the original xdoc source 
document has a lot of HTML markup).

There is an easy fix: simply remove the whitespace from the last few Jelly templates 
in the stylesheet:


   <!-- copy any other elements through -->
   <jsl:template match="*" trim="false"><jsl:copy trim="false"><jsl:applyTemplates 
trim="false"/></jsl:copy></jsl:template>

   <!-- element values don't pass through as text -->
   <jsl:template match="@*"/>

   <!-- CDATA and text nodes pass-thru -->
   <jsl:template match="text()"><x:expr select="."/></jsl:template>

</jsl:stylesheet>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to