[xml] xmlcatalog: inconsistent behaviour between the --add and --del option?



Hello,

If I want to add an entry to the catalog, I have to specify the catalog
file:

xmlcatalog --add 'TYPE' 'ORIG' 'REPLACE' $CATALOG

but removing an entry works without giving the catalog file

xmlcatalog --del 'VALUE'

Normally I would have expected, taht even the `--add' option does not
require a catalog file (Shouldn't it simply try to examine
XML_CATALOG_FILES)? Or is this behaviour dedicated to the fact, that
XML_CATALOG_FILES can be a list of catalogs (which isn't a problem, if
en entry shall be removed)? But in this case I would expect, that --del
accepts a catalog file too.

Regards, Daniel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]