Re: [xslt] Win2K,xsltproc ignores catalog



At Saturday 15/02/2003 13:04, you wrote:
>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.
mmm...
catalog.xml (containing document) resides in c:\xsherlock0.1, but by using 
uri="./art500/art500.dtd"
the art500.dtd is not found (c:/xsherlock0.1/art500/art500.dtd).



>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/
>_______________________________________________
>xslt mailing list, project page http://xmlsoft.org/XSLT/
>xslt@gnome.org
>http://mail.gnome.org/mailman/listinfo/xslt




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