Title: Spaces in XSL documents cause problems inside <xsl:attribute> tags

This Xalan version 2.2.D6 causes problems in HTML output when <xsl:attribute> tags contain carriage returns and spaces in the XSL file.   Previous versions of Xalan ignored the spaces, but this one doesn't seem too.  We have had to edit hundreds of XSL documents to place the start tag, <xsl:attribute>, and the end tag </xsl:attribute> on the same line along with the content to get it to ouput properly.


Where we used to do:
<xsl:attribute name="href">
<xsl:value-of select="/page/menu/link/@xlink:href"/>
</xsl:attribute>

We now have to do:
<xsl:attribute name="href"><xsl:value-of select="/page/menu/link/@xlink:href"/></xsl:attribute>

I'm not sure if this is by design, but I didn't see it mentioned in any of the release notes.

Thanks,

Michael Waluk
Software Architect
michael.waluk@workscape.com

Direct Line: (508) 861-5555
Mobile: (508) 326-0232
Switchboard: (508) 647-5000

http://www.workscape.com/
Workscape, Inc.
16 Tech Circle
Natick, MA  01706

Reply via email to