docbook: URL not supported by this version
Subject:
Re: URL not supported by this version
From:
Tabatha Marshall ####@####.####
Date:
28 Oct 2003 22:08:51 -0000
Message-Id: <1067379171.25154.19.camel@mysticchild>
On Tue, 2003-10-28 at 07:03, Saqib Ali wrote:
> (i think) xmlproc_parse just check if the document is well-formed or not.
> It does not validate against the docbook DTD to see if the tags being used
> in the document are valid or not. (correct me if I am wrong)
Actually, I think it does check the tags. Either that or it's because I
use Xemacs with the psgml plugin (which gives me a menu command to check
next trouble spot within a parsed xml doc, along with all the other
handy sgml/xml menu tools).
> there is xmlproc_val which I haven't used.
Me either. I think that between XEmacs/psgml and xmlproc_parse, I got
it covered for xml. Otherwise, I guess we'll need more suggestions!
Tab
> On Tue, 28 Oct 2003, Tabatha Marshall wrote:
>
> > 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)
> >
> >
> > ______________________
> > http://lists.tldp.org/
> >
> >
--
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)