Re: [docbook] v5 relaxng question

From
[email protected] <>
Date
2011-03-28T17:38:25+00:00
ID
Thread
Re: [docbook] v5 relaxng question
Tim,

What tool are you validating with?

I'm able to validate chapters using jing without a problem, and I also edit them in emacs/nxml more without any error messages.

Best Regards,
Richard Hamilton
On Mar 28, 2011, at 8:50 AM, Tim Arnold wrote:

> hi,
> My documents are usually standalone chapters.
> I get an error when I validate against the V5 relaxng that says
> "Expecting  element set, got chapter, line 2"
>  
> From the spec, it appears that a standalone file has to start with a set, book, section, etc, but not a chapter:
> http://www.docbook.org/xml/5.0/rng/docbookxi.rnc
>  
> Is that intentional?
> I eventually put the chapters together as a book, but I like to validate the chapters sequentially.
>  
> thanks,
> --Tim Arnold
>  
>  

-------
XML Press
XML for Technical Communicators
http://xmlpress.net

(970) 231-3624