Subject: Re: Fix for docbook-simple
To: None <jmmv84@gmail.com>
From: Hiroki Sato <hrs@NetBSD.org>
List: netbsd-docs
Date: 04/18/2006 01:55:25
----Security_Multipart(Tue_Apr_18_01_55_25_2006_499)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Julio M. Merino Vidal" <jmmv84@gmail.com> wrote
  in <6b2d1e190604170841n6a731fdbp31f4600f45732354@mail.gmail.com>:

jm> On 4/17/06, Min Sik Kim <minskim@netbsd.org> wrote:
jm> > On Apr 17, 2006, at 7:32 AM, Julio M. Merino Vidal wrote:
jm> > > [...]
jm> > >
jm> > > Change the docbook-simple package so that it gets installed as
jm> > > share/xml/docbook/simple/1.1.  This way, the rewriteSystem entry works
jm> > > fine and we mimic the layout given by the URLs.  (I have implemented
jm> > > this currently.)
jm> > >
jm> > > Refix the docbook-xml package so that the rewriteSystem entry is more
jm> > > specific.  Instead of saying that the prefix is just
jm> > > http://www.oasis-open.org/docbook/xml/, I'd change it to be
jm> > > http://www.oasis-open.org/docbook/xml/<version>.  This way it wouldn't
jm> > > affect other packages.
jm> > >
jm> > > Or we can do both so that we have the same directory layout as the
jm> > > URLs and we avoid rewrite collisions.
jm> > >
jm> > > Any comments?  I think I prefer the latter solution.
jm> >
jm> > I also prefer the latter.  That being said, whichever solution we
jm> > choose, it would be better to change the docbook-simple directory to
jm> > follow the DTD URL directory structure.
jm>
jm> BTW, with "the latter" I meant applying both changes.
jm>
jm> Anyway... after fixing this (adding the appropriate rewrite entries), I removed
jm> the custom catalog.xml file that lives in docbook-simple/files and everything
jm> seems to work fine.  I'm not so sure this is correct though; any way to test it
jm> other than building htdocs?

 I agree with your basic idea, but <public> declarations for docbook-simple
 in the catalog.xml.in and "http://docbook.org/xml/" as an alias of
 "http://www.oasis-open.org/docbook/xml/" are still needed.
 As long as they are kept (by using XML_ENTRIES, a catalog.xml file, or so),
 I think it works fine and there is no problem.

--
| Hiroki SATO

----Security_Multipart(Tue_Apr_18_01_55_25_2006_499)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBEQ8iBTyzT2CeTzy0RAmVcAJ0ahWaa3/JwTRoUsWwlDGbN1vlTMACg1vzw
QumwpG52+0Aivni8FAPA8cQ=
=LJY5
-----END PGP SIGNATURE-----

----Security_Multipart(Tue_Apr_18_01_55_25_2006_499)----