[Bug 20894] [XT3TS] position-1801

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20894

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |NEEDSINFO

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
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()&lt;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?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 23 May 2014 18:33:04 UTC