W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2013

[Bug 24049] New: Incorrect pattern in "copy-1210" test case

From: <bugzilla@jessica.w3.org>
Date: Tue, 10 Dec 2013 14:09:35 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24049-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24049

            Bug ID: 24049
           Summary: Incorrect pattern in "copy-1210" test case
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: vitaliy.yudenkov@abrasoft.net
        QA Contact: public-qt-comments@w3.org

copy-1210 test case expected successful transformation result (not an error)
(<assert>/out/rtf</assert>).

At the same time in the test case "xsl:copy" instruction copies document node
(context node) and tries to add namespace to it. It looks like template @match
attribute should be updated to match "doc" instead of "/".

  <xsl:template match="/">
    <xsl:variable name="var1"><rtf/></xsl:variable>
    <out>
      <xsl:copy on-empty="$var1">
        <xsl:namespace name="n">http://example.com/nnnnnnn</xsl:namespace> 
      </xsl:copy>  
    </out>  
  </xsl:template>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 10 December 2013 14:09:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:45 UTC