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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: 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 documentation
www.paligo.se



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