Re: Detecting stylesheets and DTDs



Once again: we are just asking for disaster - on greater majority of
distro's,  DTD and stylesheet are not properly registered in xml
catalog. Yes, of course, this is the packagers' fault - so what? Whoever
is to blame, the users  will be the victims.  You can't expect all users
to update their catalogs themselves. For example, I have relatively
recent distro (Mdk 8.1), I installed libxml2, libxslt, stylesheets, but
on my machine, I get this:

[shurik localhost shurik]$ xmlcatalog /etc/xml/catalog
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
No entry for SYSTEM
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl

OK, I know how to fix it. But average user does not. And we can't hope
that an average user will go to DV's web page to read instructions, nor
do I think he should. 

My only suggestion is that we give the user link to updated  DTD and
stylesheets packages which correclty register in XML catalog, for all
major distros. If there are no such packages, we - or GNOME packaging
project - must create them before releasing GNOME 2.0. GNOME is meant to
be installed by ordinary users, not hackers. 

Sasha




On Thu, 2002-01-17 at 23:47, Dan Mueth wrote:
> 
> On Thu, 17 Jan 2002, Daniel Veillard wrote:
> 
> > On Wed, Jan 16, 2002 at 09:12:38PM -0600, Eric Baudais wrote:
> > > > My understanding is the RH7.2 is not quite right w/r/t the XML catalog,
> > > > but that rawhide is fine.  I'm not sure of the status of other distros.
> > >
> > > This is fine, but there needs to be more information about how to properly
> > > install the XML catalogs than DV's webpage.  His webpage is written from a
> > > developer's prespective and has a lot of information about debugging a
> > > catalog and implementation.  It lacks information about installation and
> > > setting up the catalog.  I believe if we are to take this approach
> > > documentation is key.
> >
> >   The best seems to give the sequence needed to add the set of resources
> > to the local catalog. I think extracting the install and removal scripts
> > of the RawHide RPMs and explaining them a bit should be sufficient for
> > most users.
> 
> This documentation would be very helpful.
> 
> I think the checks we will be doing in the configure scripts for
> ScrollKeeper and the GNOME packages will be:
> 
> A) xmlcatalog /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.1.2//EN"
> 
> and
> 
> B) xmlcatalog /etc/xml/catalog
> http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
> 
> [we will also test for the existance of libxml2-devel (for xml2-config),
> libxslt (for xsltproc), and maybe some other stuff]
> 
> So, if you want to check out if your distribution has things set up
> properly:
> 
> 1) make sure you have a recent libxml2 (b/c you need xmlcatalog),
> xsltproc, and xml2-config
> 2) make sure you have docbook-dtd412-xml and docbook-style-xsl installed.
> 3) make sure commands (A) and (B) above return "file:///" followed by a
> path, and not "No entry for ...".
> 4) make sure the two files returned by (A) and (B) actually exist on your
> machine
> 
> If you have everything installed and it doesn't work right, you should
> upgrade your packages.  If they are up-to-date, you may consider
> contacting the packager of docbook-dtd412-xml and/or docbook-style-xsl
> for your distribution and ask them to verify the catalog registration is
> being done properly.
> 
> Dan
> 
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list





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