GNOME Bugzilla – Bug 117424
print default catalog search list
Last modified: 2021-07-05 13:21:01 UTC
It would be nice to have a switch aka option for xmlcatalog, to print out all catalog files it would try to find an entry. If the appropriate ENV var is not set, it should just print the hard coded XML_XML_DEFAULT_CATALOG ... It should print them out unconditionally, i.e. it doesn't matter, whether the file exists ...
I too would like to see something like this. I'm using the "secret" method from bug # 104475 of overriding where the system default xml catalogs are, and for future software packages that want to use xmlcatalog to add new dtds, it would be nice if there was a way for them to do something like: xml_system_dir=`xmlcatalog --print-system-dir` xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" \ /foo/bar/baz/xml/libglade/glade-2.0.dtd $xml_system_dir Note: this would either require that - the printed output from --print-system-dir (or whatever you would choose to call it) would *not* include the ``file://'' or - xmlcatalog would have to be augmented to accept a file:// URI as the filename. That seems like a nice addition in any case. or - the person using the `--print-system-dir' option would need to postprocess it to turn it into a path. Any one of these is "good enough", if there's just a way to get xmlcatalog to tell us where it wants the catalog to be.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.