title: FOP is it possible to create a table with only <table-head> but no <table-body>?
body: <p>I'm using FOP to transform HTML(embedded in XML) to PDF.
  The HTML snippet is like below:-</p>
  
  <pre><code>&lt;table border="1" width="100%"&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Value&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody/&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>When I transform, I get this error:-</p>
  
  <pre><code>Caused by: org.apache.fop.fo.ValidationException: Error(Unknown location): fo:table-body i
  s missing child elements.
  Required Content Model: marker* (table-row+|table-cell+)
  </code></pre>
  
  <p>I got the similar error when removing the <code>&lt;tbody/&gt;</code> element:-</p>
  
  <pre><code>org.apache.fop.fo.ValidationException: Error(Unknown location): fo:table is missing child
  elements.
  Required Content Model: (marker*,table-column*,table-header?,table-footer?,table-body+)
  </code></pre>
  
  <p>Looks like table-body is required to fo:table and table-row is required to table-body. My question is:-</p>
  
  <p>Is it possible to create a table with only table-header and without table-body or with an empty table-body? </p>