Next in thread → Next in month →

Re: [docbook-publishers] slight problem with publishers.rnc

From
Scott Hudson <>
Date
2008-05-28T20:58:26+00:00
ID
Thread
Re: [docbook-publishers] slight problem with publishers.rnc
//Folks,

here's an update on the publishers.rnc. I figured out the error message 
(forgot the element decl for linegroup!).

In my example content, there are some stage directions within the 
dialogue. As such, I think we should allow para in dialogue. Are there 
others that should be allowed? Is there a better pattern that we should 
allow (db.all.blocks or db.para.blocks, perhaps?)

Best regards,

--Scott

Scott Hudson wrote:
> Folks,
>
> still running into some issues with the RNC. Please find the RNC and
> content sample attached. I'm getting the following errors:
> Location: 709:24
> Description: unfinished element "dialogue": "((mediaobject | (line)+ |
> line))+" required to finish the element
>
> Location: 711:36
> Description: unknown element "linegroup" from namespace
> "http://docbook.org/ns/docbook"
>
> --Scott
>
> *  Scott Hudson*
>  / Senior XML Architect/
>
>   
> <mailto:>
>
>
>
>   O:  303.542.2146
>
>   C:  303.332.1883
>
>   F:  303.544.0522
>
>
>
>   www.FlatironsSolutions.com <http://www.flatironssolutions.com/>
>
> /  An Inc. 500 Company/
>
> / /
>
>
>
> Dave Pawson wrote:
>   
>> 2008/5/22 Scott Hudson <>:
>>
>>     
>>> Ahem. Looks like we forgot to define where dialogue and poetry should be
>>> allowed! Try to validate the attached sample and you get:
>>> unknown element "dialogue" from namespace "http://docbook.org/ns/docbook"
>>>
>>> Suggestions?
>>>
>>>       
>> Anywhere where a 'major' block can go. Should be as a sibling to the
>> list elements?
>> Para won't do, since I can put a para in a list, table cell etc.
>>
>> db.nopara.blocks would be right... except it's included in db.para (yuk)
>> db.all.blocks perhaps
>> or db.formal.blocks (are they the same class as the 'formal' set? Both
>> can have titles)
>>
>> regards
>>
>>
>> --
>> Dave Pawson
>> XSLT XSL-FO FAQ.
>> http://www.dpawson.co.uk
>>
>>
Next in thread → Next in month →