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]

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


------------------------------------------------------------------
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]