Ticket #158 (closed defect: fixed)

Opened 20 months ago

Last modified 2 weeks ago

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

Reported by: prema Owned by: 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

Changed 20 months ago 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?

Changed 20 months ago by mikey

  • milestone set to 0.9.0

Changed 20 months ago by prema

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

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

Note: See TracTickets for help on using tickets.