[XML-SIG] Problems passing paths to xmlproc_catalog

Rodrigo Senra rodsenra@gpr.com.br
Wed, 14 May 2003 18:48:43 -0300


 Hi,

 First of all thanks for PyXML. It is great!

 Just recently I found out something that might me a bug.
 (But it could be a feature, in that case I apologize in advance ;o)

 This works fine:

 cat=catalog.xmlproc_catalog("catalog.soc",\
                             catalog.CatParserFactory())

 However, that does not:

 cat=catalog.xmlproc_catalog("<some_other_path>\catalog.soc",\
                             catalog.CatParserFactory())
 
 If I pass a path in the first parameter instead of the file name,
 it does not work anymore.

 This can be reproduced with xvcmd.py:

 OK  ->  python xvcmd.py  -c  catalog.soc      urls.xml
 BUG ->  python xvcmd.py  -c  /tmp/catalog.soc urls.xml

 I'm using xmlproc that is shipped in PyXML 0.8.2.

 I have already forwarded this message to the xmlproc maintainer,
 but I though this would interest xml-sig users also.

 Thanks in advance,
 Rod Senra

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