--nextPart1248881.oUeojrK4tu Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 18 December 2007, Ingo Kl=F6cker wrote: > On Tuesday 18 December 2007, Oswald Buddenhagen wrote: > > On Tue, Dec 18, 2007 at 05:54:58PM +0100, Alexander Neundorf wrote: > > > On Tuesday 18 December 2007, Oswald Buddenhagen wrote: > > > > have you tried url escaping? doesn't sound that unlikely, given > > > > the context ... > > > > > > Good idea :-) > > > > > > This way ? > > > ../../bin/meinproc4 --stylesheet > > > /home/alex/src/kde4-svn/KDE%20dir/kdelibs/kdoctools/docbook/xsl/m > > >an pages/docbook.xsl --check > > > --srcdir=3D/home/alex/src/kde4-svn/KDE%20dir/kdelibs/kdoctools/ > > > /home/alex/src/kde4-svn/KDE\ > > > dir/kdelibs/doc/kbuildsycoca4/man-kbuildsycoca4.8.docbook > > > > yes. > > > > > Doesn't work either :-( > > > > bleh. try a proper file:/// url. if that doesn't work, hunt down > > the libxml authors and do something nasty with them. :) > > Doesn't work either because xmllint splits at colon and spaces, so > that a file:///.... url is split into "file" and "///....". :-/ =46WIW, below you'll find the function that parses the result of=20 getenv("SGML_CATALOG_FILES"). The code is pretty straightforward and=20 it's obvious that nobody thought about spaces in a catalog's path. =3D=3D=3D=3D=3D void xmlLoadCatalogs(const char *pathss) { const char *cur; const char *paths; xmlChar *path; #ifdef _WIN32 int i, iLen; #endif if (pathss =3D=3D NULL) return; cur =3D pathss; while (*cur !=3D 0) { while (xmlIsBlank_ch(*cur)) cur++; if (*cur !=3D 0) { paths =3D cur; while ((*cur !=3D 0) && (*cur !=3D PATH_SEAPARATOR) &&=20 (!xmlIsBlank_ch(*cur))) cur++; path =3D xmlStrndup((const xmlChar *)paths, cur - paths); #ifdef _WIN32 iLen =3D strlen(path); for(i =3D 0; i < iLen; i++) { if(path[i] =3D=3D '\\') { path[i] =3D '/'; } } #endif if (path !=3D NULL) { xmlLoadCatalog((const char *) path); xmlFree(path); } } while (*cur =3D=3D PATH_SEAPARATOR) cur++; } } =3D=3D=3D=3D=3D Regards, Ingo --nextPart1248881.oUeojrK4tu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBHaDUgGnR+RTDgudgRAh4rAKDZaB+4QzO8vHjnXLg3weEDw5dK9gCgj/3o zU7NeH/TI/fx/T3mr4KOYRU= =nxWs -----END PGP SIGNATURE----- --nextPart1248881.oUeojrK4tu--