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

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