Hi,

Why does xmlReadFile read from stdin if "-" is specified as a filename, 
and is there any way to disable this behaviour?

It seems that this will create potential bugs wherever a program passes 
a filename to libxml2 without checking it first; if the filename is "-" 
then libxml2 will attempt to read from stdin and the program may block 
indefinitely.

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to