This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Xmllint error
Patrick Eisenacher wrote:
your module is not a valid docbook document. Therefore you can not
include it via xinclude. It's missing the docbook header line.
Just so that there's no misunderstanding:
XML documents can be valid in respect to the DocBook schemas without
having a DTD doctype declaration.
That's
why xmllint doesn't know where to lookup the definition of the module's
first element: chapter. Add a line like the following to your module:
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
If you want to include modules that are not valid docbook, but just
contain the actual elements that shall be pasted into your mother
document, then use entities.
An XML document (eg a chapter) can very well be a valid DocBook
document, no matter if it's included in an other document via an entity
reference or not.
Tobi
--
http://www.pinkjuice.com/
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.