After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 117424 - print default catalog search list
print default catalog search list
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: catalog
2.5.7
Other All
: Normal enhancement
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2003-07-14 22:23 UTC by Jens Elkner
Modified: 2021-07-05 13:21 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jens Elkner 2003-07-14 22:23:05 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 ...
Comment 1 Tim Mooney 2004-04-20 23:06:46 UTC
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.
Comment 2 GNOME Infrastructure Team 2021-07-05 13:21:01 UTC
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.