Ticket #158 (closed defect: fixed)

Opened 2 months ago

Last modified 1 month ago

Stubbles link tag must make use of xml:space="preserve" attribute

Reported by: prema Assigned to: mikey
Priority: major Milestone: 0.9.0
Component: XML/XSL view engine Version: SVN-trunk
Keywords: Cc:

Description

If specify a link at follow produce white spaces in rendered html code:

<stub:link page="foobar">
  <stub:argument name="id">
    <ixsl:value-of select="@id"/>
  </stub:argument>
  <ixsl:value-of select="title/text()"/>
</stub:link>

Is it possible to strip white spaces with xml:space attribute?

Change History

07/16/08 11:44:20 changed by mikey

There is alread a <xsl:strip-space elements="stub:link"/> declaration in src/ main/resources/xsl/stub.xsl in line 9. Maybe this needs to be extended to include stub:argument as well. Could you please test if this fixes the problem and provide a patch if this is the case?

07/16/08 11:44:28 changed by mikey

  • milestone set to 0.9.0.

07/29/08 16:42:35 changed by prema

  • status changed from new to closed.
  • resolution set to fixed.

Yes, the <xsl:strip-space elements="stub:argument"/> fix this problem.