Messages in this thread | | | Date | Tue, 30 Nov 2004 08:28:23 -0800 | From | Kevin Fox <> | Subject | Re: file as a directory |
| |
On Tue, 2004-11-30 at 08:54 +0000, Peter Foldiak wrote: > On Mon, 2004-11-29 at 23:35, Kevin Fox wrote: > > 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? > > My suggestion was simply about unifying the namespace for selection in > the file system and selection within XML files using a syntax related to > (but not necessarily identical with) XPath.
So long as its different enough that you can have current XPath implementations be able to separate the XPath from the filename, it should be fine.
Really simple example, file#foo
Is #foo handled by XPath, or passed to the file system?
> I was not suggesting you should do anything special with the content of > the XML files, even if the XML file contains an XPath reference. > (The latter could be interesting to think about as a separate issue > later, but it is certainly not part of my simpler suggestion.) > Peter >
What I was suggesting is that if your not careful, it may not be possible for current libraries to know the difference between its XPath like stuff and whatever is done in the file system.
Kevin - 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/
| |