docbook: URL not supported by this version


Previous by date: 28 Oct 2003 08:31:29 -0000 Re: Line length, Tabatha Marshall
Next by date: 28 Oct 2003 08:31:29 -0000 Re: URL not supported by this version, Saqib Ali
Previous in thread: 28 Oct 2003 08:31:29 -0000 URL not supported by this version, Sarah Haff
Next in thread: 28 Oct 2003 08:31:29 -0000 Re: URL not supported by this version, Saqib Ali

Subject: Re: URL not supported by this version
From: Tabatha Marshall ####@####.####
Date: 28 Oct 2003 08:31:29 -0000
Message-Id: <1067330133.24434.38.camel@mysticchild>

On Mon, 2003-10-27 at 18:51, Sarah Haff wrote:
> I am trying use the onsgmls to validate the a document against the DocBook 
> XML DTD v4.2 using onsgmls
> 
> #onsgmls -v
> onsgmls:I: "OpenSP" version "1.5"

I checked my version (on RH8) and mine's even worse: 1.3.4!

> Here is my doctype decleration:
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
> "http://docbook.org/xml/4.2/docbookx.dtd">

> If I use a system path instead of a URL, everything works fine.
> 
> Any ideas on how to make it work with URLs?

Is it possible for you to use xml tools instead (maybe something is
already installed on your system for that)?  When I check xml documents,
rather than onsgmls, I use xmlproc_parse (included in RH8).
 
Syntax:  xmlproc_parse file.xml
If you have multiple files for the book:  xmlproc_parse *.xml 

The command will find the dtd in the first file, and seems to be fine
with the url to docbookx.dtd.  This is much handier than onsgmls for me
when working on a book that has other files included as entities in the
main xml file.  I've always found that with onsgmls I have to paste in
the doctype definition at the beginning if I'm working with a
multiple-file book.  Big pain.

Hope that helps a little!

Tab


-- 
Tabatha Marshall
Web: www.merlinmonroe.com
Linux Documentation Project Review Coordinator (http://www.tldp.org)
Linux Counter Area Manager US:wa (http://counter.li.org)


Previous by date: 28 Oct 2003 08:31:29 -0000 Re: Line length, Tabatha Marshall
Next by date: 28 Oct 2003 08:31:29 -0000 Re: URL not supported by this version, Saqib Ali
Previous in thread: 28 Oct 2003 08:31:29 -0000 URL not supported by this version, Sarah Haff
Next in thread: 28 Oct 2003 08:31:29 -0000 Re: URL not supported by this version, Saqib Ali


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.