Bug 12199

Summary: XSLT include level limit
Product: WebKit Reporter: Phil Carbone <phil>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, phil
Priority: P2    
Version: 420+   
Hardware: Mac (PowerPC)   
OS: OS X 10.4   

Phil Carbone
Reported 2007-01-10 10:45:50 PST
I have an XSLT file that an xml file is referring to. The XML file calls the XSLT with this line: <?xml-stylesheet href="page.xslt" type="text/xsl"?> The "page.xslt" then includes another xslt file called "widgets.xslt" "widgets.xslt" has about 10 other xslt files included within it. From what I have found, it seems that Safari will not include any other files after the third level (within the widgets.xslt file) If I put the includes that I have within the "widgets.xslt" file directly into "page.xslt" everything works. If I don't than the page is blank. Also, I though maybe something was wrong with the "widgets.xslt" file, so I tried to just put plain XSLT (no includes) in it to see if it still transforms. When I do this the page works. So my conclusion is that Safari only supports 3 levels of included xslt files. Is this true? is there something I can do to fix this. Does anyone have an answer? P.S. This works in Firefox 2.0/OS X, Firefox 2.0/Windows, IE6 and IE7 (I am using Safari 2.0)
Attachments
David Kilzer (:ddkilzer)
Comment 1 2007-01-10 13:20:53 PST
(In reply to comment #0) > P.S. This works in Firefox 2.0/OS X, Firefox 2.0/Windows, IE6 and IE7 (I am > using Safari 2.0) Please try this with a WebKit Nightly build: http://nightly.webkit.org/ There is nothing to install--just download the DMG, mount it, and double-click on the WebKit icon.
Phil Carbone
Comment 2 2007-01-11 08:45:08 PST
WOW! Everything works perfect in WebKit from the nightly build (Thu Jan 11 13:45:30 GMT 2007) So, what version of Safari would this be considered? Is this known? I will be looking forward to the release.
David Kilzer (:ddkilzer)
Comment 3 2007-01-11 09:47:30 PST
(In reply to comment #2) > So, what version of Safari would this be considered? Is this known? I will be > looking forward to the release. Apple has not (and will not) pre-announce anything, but the last time they shipped Tiger (10.4), they provided an updated Safari for Panther (10.3.9) with a version of WebKit that was nearly identical to the version shipped with Safari in Tiger. I personally think they'll do the same thing with Tiger when Leopard is released, but again, that's pure speculation on my part.
David Kilzer (:ddkilzer)
Comment 4 2007-01-16 03:36:20 PST
Closing as RESOLVED/FIXED since this works in WebKit ToT (tip of tree). See Comment #3 for when this may be fixed in shipping Safari.
Note You need to log in before you can comment on or make changes to this bug.