From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11208 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: Problem with useexternaldocument Date: Tue, 4 Mar 2003 22:22:13 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030304212211.GA2475@scaprea> References: <20030302211657.GA5773@scaprea> <5.1.0.14.1.20030304101918.03186008@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046893078 12031 80.91.224.249 (5 Mar 2003 19:37:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 19:37:58 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 05 20:37:57 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qeiC-00037u-00 for ; Wed, 05 Mar 2003 20:37:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AD26A10B4D; Wed, 5 Mar 2003 20:38:24 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id 4D35F10B1B for ; Wed, 5 Mar 2003 20:36:24 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.6/8.12.2) with ESMTP id h25JaNlV045214 for ; Wed, 5 Mar 2003 20:36:23 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.6/8.12.2/Submit) with UUCP id h25JaNrW045213 for ntg-context@ntg.nl; Wed, 5 Mar 2003 20:36:23 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18qJrb-0000ur-00; Tue, 04 Mar 2003 22:22:15 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20030304101918.03186008@server-1> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11208 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11208 On Tue, Mar 04, 2003 at 10:20:36AM +0100, Hans Hagen wrote: > At 10:16 PM 3/2/2003 +0100, Simon Pepping wrote: > The file checker tries to recognize url's which is also needed for: > > \starttext > > \typefile{http://www.pragma-ade.com/index.htm} > > \stoptext > > Are you sure the file:/ should not be file://, or: what schemes should be > supported? A matter of much confusion. If I understand it correctly, file:/ is correct, file:// is definitely incorrect, and file:/// is supposed to be shorthand for file://localhost/, and is thus correct. The // introduce an `authority' (a host), and the file protocol (i.e. a file on the local filesystem) does not have one, or at best the localhost. The Lynx browser uses the localhost variant, with localhost explicitly in the URL. Mozilla uses the variant with ///. See this test file: T

These work in Mozilla: test test test test test

This one does not work in Mozilla: test Mozilla removes //home (the authority) and looks for /simon/temp/test.html. -- Simon Pepping email: spepping@scaprea.hobby.nl