[Webkit-unassigned] [Bug 14101] New: XSLTProcessor does not accept Nodes as parameter values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 12:42:47 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14101

           Summary: XSLTProcessor does not accept Nodes as parameter values
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sjoerd at xopus.com


F.e. assuming doc is the XML document <test/>:

proc.setParameter(null, "test", doc)

With XSLT:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:param name="test"/>

  <xsl:template match="/">
    <result>
      <xsl:copy-of select="$test" />
    </result>
  </xsl:tempate>

</xsl:stylesheet>

gives:

<result>[object Document]</result>

where I expected:

<result><test/></result>


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list