<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12199</bug_id>
          
          <creation_ts>2007-01-10 10:45:50 -0800</creation_ts>
          <short_desc>XSLT include level limit</short_desc>
          <delta_ts>2007-01-16 03:36:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>XML</component>
          <version>420+</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Phil Carbone">phil</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>phil</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35894</commentid>
    <comment_count>0</comment_count>
    <who name="Phil Carbone">phil</who>
    <bug_when>2007-01-10 10:45:50 -0800</bug_when>
    <thetext>I have an XSLT file that an xml file is referring to. 

The XML file calls the XSLT with this line:
&lt;?xml-stylesheet href=&quot;page.xslt&quot; type=&quot;text/xsl&quot;?&gt;

The &quot;page.xslt&quot; then includes another xslt file called &quot;widgets.xslt&quot;

&quot;widgets.xslt&quot; 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 &quot;widgets.xslt&quot; file directly into &quot;page.xslt&quot; everything works. If I don&apos;t than the page is blank.

Also, I though maybe something was wrong with the &quot;widgets.xslt&quot; 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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35867</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-01-10 13:20:53 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; P.S. This works in Firefox 2.0/OS X, Firefox 2.0/Windows, IE6 and IE7 (I am
&gt; 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.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35783</commentid>
    <comment_count>2</comment_count>
    <who name="Phil Carbone">phil</who>
    <bug_when>2007-01-11 08:45:08 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35797</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-01-11 09:47:30 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; So, what version of Safari would this be considered? Is this known? I will be
&gt; 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&apos;ll do the same thing with Tiger when Leopard is released, but again, that&apos;s pure speculation on my part.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34686</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-01-16 03:36:20 -0800</bug_when>
    <thetext>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.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>