This is a testing file:
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.
Tested with Midori/Webkit from https://launchpad.net/~webkit-team/+archive/ppa.
Also confirmed on Windows running Google Chrome and Safari.
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 ***