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: Re: How to validate DocBook 5 with XInclude?

On Mon, 19 May 2008 17:46:18 +0900, Jirka Kosek <jirka@kosek.cz> wrote:

> Boris wrote:
>> Thanks for the link! Out of interest: Is this a DocBoook speciality or
>> you always have to include documents first when you want to validate?
> It depends on what you want. Of course it possible to validate XML
> document without resolving XIncludes but then you can't be sure that
> after resolving document will be also valid. If you will include chapter
> inside chapter you will not see error until you resolve includes as
> standalone included chapter is valid, and it is possible to have
> XInclude element inside chapter.
> If you want to validate without resolving XIncludes, you should use
> DocBook schema which allows xi:include elements -- docbookxi.rng or
> docbookxi.rnc from http://www.docbook.org/xml/5.0/rng/

Thanks again! I'm actually only including source code (in  
<programlisting>) - thus I don't need to validate the referenced files. As  
my authoring tools don't support Relax NG I can only validate with the XML  
Schema though. :-/


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