The content model of a varlistentry is:

varlistentry ::=
(term+,listitem)

See http://www.docbook.org/tdg/en/html/varlistentry.html
See http://www.docbook.org/tdg5/en/html/varlistentry.html (for DocBook 5).

In your case, you have 1 term followed by 2 listitems.

When  you don't understand something like this, simply press Shift-F1 
(Help > Show Content Model) and you'll see the content model of the 
explicitly or implicitly selected element.




Mark Duling wrote:
> 
> Can someone tell me why xxe flags the markup below as invalid XML?  It was
> made in a text editor.  This is the error:
> 
> "the sequence of child elements is incorrect [cvc-complex-type.2.4]"
> 
> Yet other validation tools seem to pass it as valid.  If anyone can shed
> light on this I would appreciate it.  Thanks.
> 
> 
> <variablelist>
>    <varlistentry>
> 
>        <term> </term>
>        <listitem>
>          <itemizedlist>
>              <listitem>
>                 <para> </para>
>              </listitem>
>              <listitem>
>                 <para> </para>
>                 <programlisting>  </programlisting>
>              </listitem>
>           </itemizedlist>
>        </listitem>
> 
>        <listitem>
>             <para> </para>            
>             <programlisting>  </programlisting>
>        </listitem>
>    </varlistentry>
> 
> 
> more stuff
> 
> </variablelist>
> 

Reply via email to