Re: [xslt] Win2K,xsltproc ignores catalog



On Fri, Feb 14, 2003 at 06:33:57PM +0100, Philipp Dunkel wrote:
> [clipped]
> > speaking relative paths, when I use (as you suggested):
> > uri="file:///c:/xsherlock0.1/art500/art500.dtd"
> > it works, still
> > uri="file:///./art500/art500.dtd" nor uri="art500/art500.dtd"
> > doesn't work (catalog is in c:\xsherlock0.1).
> Should be
> file://.art500/art500.dtd since the third slash indicates to start from
> the top of your file tree. And art500/art500.dtd does not specify what
> it is.

  No, that actually mean to look for /art500.dtd on the .art500 host
using the file protocol. The file scheme has no provision for relative
paths. If you want to use a relative path then use "./art500/art500.dtd"
but that path will be relative to the current base, i.e. the URL of
the containing document or the xml:base if there is one in scope.

Daniel


-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]