Bug 15762

Summary: XSLStylesheet loads subresources from a wrong URL
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
proposed fix
none
proposed fix andersca: review+

Alexey Proskuryakov
Reported 2007-10-30 04:03:45 PDT
Discovered with the new Web Inspector XSLT logging: parsing errors were attributed to a wrong file. Fixing this made an existing test fail, but the test was incorrect (the new behavior matches xsltproc and WinIE). Patch forthcoming.
Attachments
proposed fix (2.56 KB, patch)
2007-10-30 04:19 PDT, Alexey Proskuryakov
no flags
proposed fix (3.19 KB, patch)
2007-10-30 04:26 PDT, Alexey Proskuryakov
andersca: review+
Alexey Proskuryakov
Comment 1 2007-10-30 04:19:01 PDT
Created attachment 16945 [details] proposed fix ...as for Firefox, it passes neither variant - AFAICT, it doesn't try to load the DTD.
Alexey Proskuryakov
Comment 2 2007-10-30 04:26:59 PDT
Created attachment 16946 [details] proposed fix Oops, there was one more test with the same problem.
Anders Carlsson
Comment 3 2007-10-30 11:48:22 PDT
Comment on attachment 16946 [details] proposed fix Does href() return the absolute URL? r=me
Alexey Proskuryakov
Comment 4 2007-10-30 12:18:51 PDT
(In reply to comment #3) > Does href() return the absolute URL? It did in my tests, and I think it's always supposed to.
Alexey Proskuryakov
Comment 5 2007-10-31 01:34:09 PDT
Committed revision 27302.
Note You need to log in before you can comment on or make changes to this bug.