Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261872AbUK2Xgk (ORCPT ); Mon, 29 Nov 2004 18:36:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261884AbUK2Xgk (ORCPT ); Mon, 29 Nov 2004 18:36:40 -0500 Received: from atlas.pnl.gov ([130.20.248.194]:229 "EHLO atlas.pnl.gov") by vger.kernel.org with ESMTP id S261872AbUK2XgJ (ORCPT ); Mon, 29 Nov 2004 18:36:09 -0500 Date: Mon, 29 Nov 2004 15:35:15 -0800 From: Kevin Fox Subject: Re: file as a directory In-reply-to: <41ABA9D3.7020602@st-andrews.ac.uk> To: Peter Foldiak Cc: Horst von Brand , Christian Mayrhuber , reiserfs-list@namesys.com, Hans Reiser , Paolo Ciarrocchi , linux-kernel@vger.kernel.org Message-id: <1101771315.1261.4.camel@zathras.emsl.pnl.gov> MIME-version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-type: text/plain Content-transfer-encoding: 7bit References: <200411292120.iATLKZxE004233@laptop11.inf.utfsm.cl> <41ABA9D3.7020602@st-andrews.ac.uk> X-OriginalArrivalTime: 29 Nov 2004 23:36:01.0695 (UTC) FILETIME=[2F9E92F0:01C4D66C] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1917 Lines: 39 Heh. So, you can have a filename that can contain XPath looking junk. Now, what happens when you have an XML file that points to another XML file using XPath? How do you separate the file name XPath from the XML XPath? On Mon, 2004-11-29 at 22:59 +0000, Peter Foldiak wrote: > Horst von Brand wrote: > > >Now think about files with other formats, for instance the (in)famous > >sendmail.cf, or less structured stuff like you find in /etc/init.d/, or > >just Postgres databases (with fun stuff like permissions on records and > >fields)... or just people groping in /etc/passwd wanting to find the whole > >entry (not just one field), or perhaps look at the 15th character of the > >entry for John Doe. > > > >This way lies utter madness (what format description should be applied to > >what file this time around?). Plus shove all this garbage into the kernel?! > > > > > > I was suggesting this idea mainly form XML files, where the tags define > the parts clearly. > In addition, I was suggesting that some of the XPath syntax (normally > used for within-XML selection) could be extended above the file level > into the file system. > The problems you mention are all related to non-XML file format issues, > which was only a minor comment in parenthesis in my original mail. I am > happy to do it only for XML to begin with (and if possible later see if > it can be done for SOME non-XML formats). Peter > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/