W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

[Bug 20894] [XT3TS] position-1801

From: <bugzilla@jessica.w3.org>
Date: Fri, 23 May 2014 18:33:03 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20894-523-fL1KcPk0Cr@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC