locate() doesn't work

Stephan Kulow coolo at kde.org
Tue Jul 16 10:39:30 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 16 July 2002 01:13, Daniel Naber wrote:
> On Monday 15 July 2002 23:22, Simon Hausmann wrote:
> > >       catalogs += locate( "dtd", "docbook/xml-dtd-4.1.2/docbook.cat"
> > > );
> > >
> > > While it works there, in my code (a Kate plugin) it only returns two
> > > empty strings. How can I make it work in my code, too?
> >
> > The fillInstance functions in xslt.cpp might be of interest for you :-)
>
> Thanks, that works. However, I'm not so happy about the version number in
> the path name. Can we set a link from docbook/xml-dtd-4.1.2/ to
> docbook/xml-dtd/?
>
Problem is that such DTDs aren't easily exchangable. So the link will only 
cause us problems in the update path.

Greetings, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9M+nSwFSBhlBjoJYRAlA9AJ46e7+x/bMiT6W9BgDkuiBagC0CeQCfQjH4
rOJmVjVdr7NGmqPZMKDC7qw=
=eEIA
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list