OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: XML equivalent of (o)nsgmls?

/ Bob Bernstein <bob@ruptured-duck.com> was heard to say:
| On Tue, May 29, 2001 at 11:23:31PM +0200, Jirka Kosek wrote:
| > nsgmls -s -wxml /path/to/xml.dcl your_document.xml
| I am confused as to which 'xml.dcl' to use in this context. I have this:
| /docbook/dsssl/modular/dtds/decls/xml.dcl

That should be fine.

| in my installation of DocBook sgml, but if I use it to validate an xml
| document written for the website DTD, I get an endless stream of:
| nsgmls:test_nsgmls.xml:225:53:E: element "para" undefined

Something else is wrong. Try using the -E option (e.g., -E 5) and show
us what the first few errors are.

| The xml document in question works fine with xt and saxon. It's header looks
| like this:
| <?xml version="1.0" standalone="no"?>
| <!DOCTYPE website PUBLIC "-//Norman Walsh//DTD Website V1.10//EN" 
|    "/usr/pkg/share/sgml/docbook-website/1.10/website.dtd"> 
| I'm doing something, yes? <g>

I'm not sure that either saxon or xt perform a validating parse by
default. And the 1.10 Website DTD contains an internal reference to
DocBook, so you have to have that installed (in the right place) 
as well.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com>      | To create a little flower is the
http://www.oasis-open.org/docbook/ | labour of ages.--Blake
Chair, DocBook Technical Committee |

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC