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: DOCBOOK-APPS: onsgmls error (docbook xml 4.1.2)


I'm trying to validate an XML docbook, with a root node of
===
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"docbookx.dtd" [
<!ENTITY foo SYSTEM "foo.xml">
<!ENTITY bar SYSTEM "bar.xml">
<!ENTITY mun SYSTEM "mun.xml">
]>
<book id="test_book" >
<title>test book</title>
&foo;
&bar;
&mun;
</book>
===

And I'm using the following command line:
onsgmls -wxml -wall -guesx ../book-source/document-root.xml

but I get the following error:
In entity article included from ../book-source/document-root.xml:8:0
In entity dbpool included from
/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd:91:8
In entity tablemodel included from
/usr/share/sgml/docbook/dtd/xml/4.1.2/dbpoolx.mod:3371:12
onsgmls:/usr/share/sgml/docbook/dtd/xml/4.1.2/calstblx.dtd:67:0:W:
unused parameter entity "tbl.table.name"
onsgmls:../../isotest/quality/document-root.xml:9:29:E: document type
does not allow element "book" here
onsgmls:../../isotest/quality/document-root.xml:13:8:E: no document
element


Any hints as to the cause of this? (I'm not worried about the unused
parameter, jsut the "document type does not allow element book here" and
the "no document element"

Rob



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


Powered by eList eXpress LLC