← Prev in month ← Prev in thread

Content model for caption wrong?

From
Frank Arensmeier <>
Date
2016-02-04T11:12:42+00:00
ID
Thread
Content model for caption wrong?
Hello!

I am reading the content model definition for the "caption" element - 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 documentationwww.paligo.se
← Prev in month ← Prev in thread