[XML-SIG] Problems passing paths to xmlproc_catalog

Rodrigo Senra rodsenra@gpr.com.br
Tue, 1 Jan 2002 00:30:15 -0200


 On Thu, 15 May 2003 00:02:17 -0400
 "Thomas B. Passin" <tpassin@comcast.net> wrote
 about Re: [XML-SIG] Problems passing paths to xmlproc_catalog:
 --------------------------------------------
 | Try using a file: url, either
 |=20
 | file:/tmp/catalog.soc urls.xml
 |=20

 Thanks Tom, but it didn't work.

 I believe the problem is more subtle.

 This is part of my  catalog.soc:

 <file name=3D"catalog.soc">
  SYSTEM "+//www.gpr.com.br//EN//XML"
       "file:///home/rodrigo/r/projetos/gpr/trf3k/client/src/tasklet.dtd"
 </file>

 If I do this:
=20
 <code label=3D1>
  cat=3Dcatalog.xmlproc_catalog("catalog.soc",
                              catalog.CatParserFactory())
 </code>

 I=B4m fine. However if I do this:

 <code label=3D2>
  cat=3Dcatalog.xmlproc_catalog("../config/catalog.soc",
                              catalog.CatParserFactory())
 </code>
=20
 I fails, but it does not fail to find catalog.soc!

 In code1 it uses the path string  "file:///home/rodrigo/r/proje..."
 and in code2 it uses the identifier "+//www.gpr.com.br//EN//XML".
 Same catalog.soc file in different directories produces different
 behaviour.

 I have e-mailed  Lars but it returned.

 regards,
 Rod Senra

--=20
Rodrigo Senra                 (ICQ 114477550)
MSc Computer Engineer     rodsenra@gpr.com.br =20
GPr Sistemas Ltda       http://www.gpr.com.br=20