Re: [xml] more questions on catalogs
- From: Rick Jones <rick jones2 hp com>
- To: xml gnome org
- Subject: Re: [xml] more questions on catalogs
- Date: Wed, 22 Feb 2006 09:36:26 -0800
Daniel Veillard wrote:
However, that does not seem
to be created by default by libxml2 installation?
No, this is a system resource. On a Red Hat/Fedora system it will be created
by the installer as part of the installtion scripts of the packages in the
distribution.
So, it is left up to the system to create, but libxml2 expects the system to
create it in a particular place yes?
It is possible for libxml2 to be built in such a way as to have the default
catalog location elsewhere?
You can hack it, but then you're on your own. I don't support this,
and /etc/xml should be part of the (Linux) Filesystem Standard, not specific
to libxml2.
I wasn't meaning to imply I wanted to put it anywhere else :) I wanted to know
if I needed to deal with it possibly being somewhere else.
Part of the difficulty stems from the application (netperf) being run on much
more than just a Linux system, so I cannot count on a Linux Filesystem Standard.
I was hoping there was a bit more of a "libxml2 filesystem standard" which i
suppose is why I was asking if the install of libxml2 - for example on HP-UX or
Windows - should create /etc/xml
It sure would be nice if one could use xmlcatalog without requiring
explicit knowledge of where libxml2 will be looking for catalogs. I would
libxml2 will be looking in /etc/xml, because that's where it expects the
Operating System to store the entry point for the catalog. If you don't follow
that, you're creating a divergent way, and I don't want to help doing this,
there is no good reason at an OS level to make things in a different way,
and if it's not at the OS level, then use the environment variable to tell
to search for catalogs somewhere else.
Again, I'm not looking to diverge, just trying to see how "invariant" /etc/xml
happens to be. When I install netperf, I will want to install its catalog, and
to do that I will want to know where the master catalog is supposed to be, and
if it is not there (eg /etc/xml/catalog) that it is "OK" for netperf's install
to go ahead and create it.
I'm still a little fuzzy on why if libxml2 is expecting /etc/xml and libxml2 is
ported to more than just Linux and so more than just the Linux Filesystem
Standard, why it would rely on the OS to create /etc/xml, but if indeed,
/etc/xml (where would that be under Windows?) is where libxml2 is going to look,
and it would take a libxml2 source change for it to look elswhere rather than a
configure option, I suppose I can consider /etc/xml an invariant.
not that I plan on using the catalog manipulation routines, but it might be
nice if their mentions in the catalog.html file were hyperlinks to their
descriptions.
True, I take patches :-) or you can bugzilla.
Touche :)
rick jones
on list so no need for cc
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]