[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: How to validate assemblies and the underlying files?
Hi,We are using a slightly customized Relax-NG schema based on docbook, and I have the following problem when validating files (we are using Jing). Our documents are highly modular, using lots of xincludes.
- When validating a traditional docbook document (for example, a book, chapter, or article), everything is OK, out custom.rng file has an include statement for the docbookxi.rng file, Jing resolves the xincludes, and validates the complete document.
- However, for documents that use assemblies, the assembly.rng file (from DocBook Assembly V5.1b7) validates only the top-level assembly file. The underlying files (mostly chapters that xinclude further files) are not validated.
My goal would be to have a single custom.rng file that I can reference during validation, and that would validate all types of files, as well as any files they xinclude.
What is the proper way to do that? Thank you for your help in advance. Kind Regards, Robert