Hi Carlos,

Looks like that's a bug in the schema. (I'm copying this post to the DocBook 
TC, since the TC will need to look into this).

When I look in the 5.1CR2 schema, I see the following for sect1:

      <define name="db.sect1">
         <element name="sect1">
        ---
            <ref name="db.sect1.attlist"/>
            <ref name="db.sect1.info"/>
            <ref name="db.navigation.components"/>
   ...
   </div>
==========
The problem is that <ref name="db.navigation.components"/>  should be inside a 
<zeroOrMore> element.

For db.section, db.sectX, this statement is inside a <zeroOrMore> element, so I 
think this is a typo in this version of the RelaxNG.

Thanks for catching this.

Best regards,
Dick Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
[email protected]



On Apr 30, 2014, at 11:41 AM, Carlos Araya wrote:

> <chapter xml:id="looking.forward" xmlns="http://docbook.org/ns/docbook";
>     xmlns:xlink="http://www.w3.org/1999/xlink";>
>     <info>
>         <title>Looking forward: What's next?</title>
>     </info>
>     <para/>
> 
>     <sect1>
>         <title>Pushing the boundaries of EPub</title>
> 
>         <para>Content of the chapter goes here</para>
>     </sect1>
> </chapter>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to