Hello!

I am reading the content model definition for the "caption" element - 
http://www.docbook.org/tdg/en/html/caption.html 
<http://www.docbook.org/tdg/en/html/caption.html>
The content model clearly states that captions can contain plain text. However, 
this little snippet does not pass validation in Oxygen:

<section xmlns="http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; version="5.0">
    <title>Section Template Title</title>
    <para>Text</para>
    <informalfigure>
        <mediaobject>
                <imageobject>
                        <imagedata fileref="#"></imagedata>
                </imageobject>
        </mediaobject>
        <caption>My caption here.</caption>
    </informalfigure>
</section>

Is the content model wrong or the Docbook RNG Schema?

Frank Arensmeier

Paligo - The truly user-friendly CMS for technical documentation
www.paligo.se <http://www.paligo.se/>

Reply via email to