W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Re: <!--#include file="file.txt" -->

From: Weiping Hu <whu@adonis39.et.deakin.edu.au>
Date: Fri, 25 Oct 1996 12:10:39 +1000
Message-Id: <3270219F.41C6@adonis39.et.deakin.edu.au>
To: Antonio Ramirez <anto@MIT.EDU>
Cc: www-jigsaw@w3.org
Antonio Ramirez wrote:
> 
> 
> Hm. Nothing happens as in the browser hangs? Or it fetches the
> file without test.txt included?

The latter.  

> 
> It works here, so the only reason I can think why it might not be
> working is that test.txt is not indexed by Jigsaw. Did you define the
> txt extension? (I'm not sure if it comes defined in the distribution).
> You could try including a .html file, just to be sure.

I've loaded the 'test.txt' file into the browser successfully, but it
just won't appear when I use 'include'.  I also tried to include
'FAQ.html' in 'Overview.html', without success.

> 
> On the other hand, it could very well be a bug, for some situation
> that I didn't anticipate. If it keeps happening after you absolutely
> made sure that the included file is indexed, I'd like details.
> 
> To see if the file is indexed, try getting
> http://localhost/User/test.txt with a browser.
> 
> 
> By the way, I just found a bug related to what you told me.
> The include command doesn't check to see if the resource wasn't found
> (it doesn't check to see if the HTTP status code is OK). So if you have
> an ErrorFilter installed, it will include its output. Blech.

I installed the 'w3c.jigsaw.filters.ErrorFilter' to both Overview.html
(the including file) and FAQ.html (the file included), but it still
doesn't work.  sigh.

I'm using jigsaw 1.0alpha3, on a DEC alpha.

Thanks for your help, Antonio, but it seems I need more.:-)

Weiping
> 
> Antonio
> 
> --
> ======================================================================
> Antonio Ramirez / 450 Memorial Dr. / Cambridge, MA 02139
> anto@mit.edu, anto@w3.org
Received on Thursday, 24 October 1996 22:10:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT