OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: 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
hamilton@xmlpress.net
(970) 231-3624



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