This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20894 - [XT3TS] position-1801
Summary: [XT3TS] position-1801
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2013-02-07 11:22 UTC by Tim Mills
Modified: 2015-05-06 21:16 UTC (History)
2 users (show)

See Also:


Description Tim Mills 2013-02-07 11:22:46 UTC
The whitespace expected for this test doesn't appear to match the input document.
Comment 1 Abel Braaksma 2014-05-23 18:33:03 UTC
I don't see any problems with either the input or the output. The input is defined as:


the output is defined as:


the XSL is defined as:

<?xml version="1.0" encoding="utf-8"?>
<?spec fo#func-position?>
<xsl:stylesheet xmlns:xsl=""

  <xsl:output method="html"/>

  <xsl:template match="/">

  <xsl:template match='LINE[position()&lt;last()]'>

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?
Comment 2 Tim Mills 2014-05-24 09:33:35 UTC
Why do you expect the big gaps between the <p> elements?
Comment 3 Michael Kay 2014-05-24 12:32:06 UTC
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.
Comment 4 Michael Kay 2015-03-20 15:00:39 UTC
Now fixed
Comment 5 Abel Braaksma 2015-05-06 21:16:13 UTC
Was resolved > 30 days ago, closing.