Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 1729 invoked from network); 12 Jul 2000 04:10:09 -0000 Received: from mail.crestedbutte.net (199.190.87.31) by locus.apache.org with SMTP; 12 Jul 2000 04:10:09 -0000 Received: from kirk (s119.gunnison.com [199.190.87.119]) by mail.crestedbutte.net (8.9.0/8.9.0) with SMTP id WAA03111 for ; Tue, 11 Jul 2000 22:13:08 -0600 From: "Kirk Woerner" To: Subject: RE: stupid question about xsl:include/import Date: Tue, 11 Jul 2000 22:06:42 -0600 Message-ID: <00ae01bfebb6$9616b8f0$7b57bec7@kirk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: >> >> In fact "/foo.xml" is a perfect URI and also a perfect URL. >There is a W3C >> recommendation out, that says so, too. And anything that you put into an >> attribute called href better be a URI. The only way to refer to filespace >> with URIs is using the file:// locator - because http:// is sort of the >> default locator. It is assumed, when no other locator is present. >> >> Ulrich >> > >That was my understanding too. > >But since I have always been using those prefixes and I am not so close to >the standards, I was not so sure. > Actually I think y'all are missing the point. A URI is either fully qualified or relative. The URI "/common.xsl" is relative. There's no indication of whether it's http, file or what. Which drive would this be on on an Windows system? So the question is "relative to what"? I don't know the answer, but I would think when the code just slaps "file:" in front it's wrong. I would think it would be relative to how the XSL was referred to in the XML file (or wherever it was pulled from). I think also there's something similar to the HTML "DocumentBase" tag which it should follow. This might be for only for XML, but since XSL IS XML it should work no?