This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The whitespace expected for this test doesn't appear to match the input document.
I don't see any problems with either the input or the output. The input is defined as: <TEST> <LINE>1</LINE> <LINE>2</LINE> <LINE>3</LINE> <LINE>4</LINE> </TEST> the output is defined as: <html> <body> <P>1</P> <P>2</P> <P>3</P> 4 </body> </html> the XSL is defined as: <?xml version="1.0" encoding="utf-8"?> <?spec fo#func-position?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="html"/> <xsl:template match="/"> <html> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match='LINE[position()<last()]'> <P> <xsl:apply-templates/> </P> </xsl:template> </xsl:stylesheet> I don't see any problems with whitespace handling. The XSL template matches the expected outcome, as far as I can see. Can you elaborate on what the problem is, or has it been taken over by events?
Why do you expect the big gaps between the <p> elements?
The default value for "indent" is "yes" in the case of method="html". So the amount of whitespace in the result is undefined. We should change the test so it is not sensitive to the amount of whitespace in the result.
Now fixed
Was resolved > 30 days ago, closing.