This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XML equivalent of (o)nsgmls?


 On Thu, May 31, 2001 at 04:54:47PM -0400, Norman Walsh wrote:
> Something else is wrong. Try using the -E option (e.g., -E 5) and show
> us what the first few errors are.

Ah...the game's afoot:

wingnut ~/website-working$ nsgmls -s -wxml -E 5 /usr/pkg/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl newsite.xml
nsgmls:/usr/pkg/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl:1:W: SGML declaration was not implied
nsgmls:/usr/pkg/share/sgml/docbook-website/1.10/website.dtd:33:0:E: URL not supported by this version
nsgmls:/usr/pkg/share/sgml/docbook-website/1.10/website.dtd:35:18:E: parameter entity "para.char.mix" not defined
nsgmls:/usr/pkg/share/sgml/docbook-website/1.10/website.dtd:35:32:E: delimiter ")" invalid: only data tag group, model group, element token, "#PCDATA" and token separators are allowed
nsgmls:/usr/pkg/share/sgml/docbook-website/1.10/website.dtd:46:42:E: parameter entity "bookcomponent.content" not defined
nsgmls:/usr/pkg/share/sgml/docbook-website/1.10/website.dtd:81:20:E: parameter entity "word.char.mix" not defined
nsgmls:I: maximum number of errors (5) reached; change with -E option

So, in website.dtd I made this:

 <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                   "http://docbook.org/xml/4.1.2/docbookx.dtd";>

look like this:

 <!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
                "/usr/pkg/share/sgml/docbook-xml/4.1.2/docbookx.dtd">

Joy now reigns unabated in Mudville. ;-)

Thanks Norm.

-- 
Bob Bernstein
at
Esmond, R.I., USA

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]