Bug 25839
| Summary: | XSLT document() function does not work (via Javascript XSLTProcessor) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | bitsteller <nbnet> |
| Component: | XML | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
bitsteller
When I run a XSLT Transformation with the JavaScript XSLT API in Webkit (XSLTProcessor.transformToDocument() function), the document() function in XSLT which should fetch another document, simply does nothing.
This is a testing file:
http://dl.getdropbox.com/u/771983/webkit-test/doc.html
It transforms "doc.xml" with the XSLT stylesheet "ref.xsl" (which tries to read some data from "another-file.xml" via document()).
In Firefox/Gecko, Opera and even IE it runs as it should.
---
By the way: When the Transformation process is started via <?xml-stylesheet?> Processing Instruction the document() function works with Webkit.
Testing file:
http://dl.getdropbox.com/u/771983/webkit-test/doc.xml
---
Tested with Midori/Webkit from https://launchpad.net/~webkit-team/+archive/ppa.
Also confirmed on Windows running Google Chrome and Safari.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is pretty much the same as bug 10313 - since the underlying issue is identical, I think that there is no need to track this separately.
*** This bug has been marked as a duplicate of 10313 ***