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] | [List Home]

Subject: 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.



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