[Webkit-unassigned] [Bug 11288] New: Rendered source not shown for xml/xslt files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 14 00:04:54 PDT 2006


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

           Summary: Rendered source not shown for xml/xslt files
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Drosera
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: webkit at dmlair.com


When an xml file is loaded containing an xml-stylesheet directive (client-side
xml/xsl transformation), Drosera shows the xml file, but does not show nor
allow the file-selection of the rendered HTML or javascript files included in
the results of the transformation.

The "pause" button works and will pause any javascript on the rendered page.
However, if Step Into (etc) are used, Drosera highlights lines in the xml file,
not the actual javascript.

Note that Web Inspector shows the rendered DOM nodes correctly instead of the
XML.

For example (psuedo code, not tested):

file.xml:
<?xml version="1.0" encoding="ISO8859-1"?>
<?xml-stylesheet type="text/xsl" href="file.xsl"?>
<file>
  Lines so Drosera can point to one when Stepping into javascript
  .
  .
  .
  .
  .
  .
  .
  .
  .
  .
  .
  .
  .
  .
</file>



file.xsl:
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
<xsl:template match="file">
<html lang="en">
  <head>
   <title>XSLT Example</title>
   <script type="text/javascript" language="javascript">
    function test(form)
    {
     alert("In Function");
     return false;
    } 
  </script>
  </head>
  <body>
   <a href="#" onclick="test()">Show Alert</a>
  </body>
 </html>
</xsl:template>
</xsl:transform>


-- 
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