From: Neil R. <ne...@oc...> - 2006-07-31 11:39:16
|
You need to create a local catalog that maps the public IDs onto your local system IDs (i.e., where the DTD files are already located on your machine). For example, it could contain a line like this, assuming docbook.dtd was in /usr/share/sgml/docbook/dtd on your system: PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "/usr/share/sgml/docbook/dtd/docbook.dtd" Then, use the -c or --catalog option of onsgmls, or compile it with --enable-default-catalog option of configure so that you do not need to specify that option. On Jul 31, subdian (su...@gm...) wrote: > Hi > > I have been trying to set up onsgmls so that validation will occur against > local copies of the DTDs instead of against network copies. I have copied > the DTDs onto the local disk, but it doesn't seem to work. When I configure > with the option --enable-http, then the validation works fine, but without, > no validation occurs. This would seem to indicate to me that it is accessing > network DTDs rather than local copies. > > Has anybody already set up a local catalog - please could you give me some > pointers. > > Kind Regards > Subdian -- Neil Roeth |