[oXygen-user] XInclude Validation Errors

Sean Wheller
Mon Jan 10 09:59:41 CST 2005


On Monday 10 January 2005 17:35, Ray Miller wrote:
> A document validation check produces the following error:
>
> Element type "xi:include" must be declared
>
> along with a couple of related error messages.
>
> XInclude Processing is enabled utilizing Options | Preferences | XML Parser
> Options
>
> Docbook files compile correctly utilizing XInclude but the errors during
> the document validation are irritating.

Ray,

Define the DocType Decl as follows:

<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % xinclude SYSTEM "path/to/oxygen/frameworks/xinclude.mod">
%xinclude;
]>

You can also see this if you start a new Docbook document with XInclude 
support.

Hope this helps.

-- 
Sean Wheller

http://www.enbaya.co.za



More information about the oXygen-user mailing list