title: What does the error "The element cannot contain white space. Content model is empty." mean?
body: <p>I'm putting together an xml schema for a simple xml (see bellow for both xml and schema). But I keep getting the following error with regards to the section node: "The element cannot contain white space. Content model is empty." . Browsing the net I could not find any concise explanation as to what it means so I can fix it. Can anyone help?</p>
  
  <p>Edit: thanks for all for offering help with the schema. I think it would help to have a concise description of what content model is and why it is empty here.</p>
  
  <p>XML:</p>
  
  <pre><code>&lt;config&gt;
     &lt;section name="facets"&gt;
        &lt;facet type="format" label="Format" max="4"/&gt;
        &lt;facet type="language" max="4"/&gt;
        &lt;facet type="pubdate" max="6" submax="8"/&gt; 
        &lt;facet type="ice_topic" label="Fiction: Topic"/&gt;
     &lt;/section&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>Schema:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;xs:element name="config"&gt;
        &lt;xs:complexType&gt;
           &lt;xs:sequence&gt;
              &lt;xs:element name="section" type="sectionBase"/&gt;
           &lt;/xs:sequence&gt;
        &lt;/xs:complexType&gt;
     &lt;/xs:element&gt;
     &lt;xs:complexType name="sectionBase"&gt;
        &lt;xs:attribute name="name" type="xs:ID"/&gt;
     &lt;/xs:complexType&gt;
  
  
     &lt;xs:complexType name="sectionFacets" &gt;
        &lt;xs:complexContent&gt;
           &lt;xs:extension base="sectionBase"&gt;
              &lt;xs:sequence&gt;
                 &lt;xs:element name="facet" type="sectionFacetsBaseFacet"/&gt;
              &lt;/xs:sequence&gt;
           &lt;/xs:extension&gt;
        &lt;/xs:complexContent&gt;
     &lt;/xs:complexType&gt;
     &lt;xs:complexType name="sectionFacetsBaseFacet"&gt;
        &lt;xs:attribute name="label" type="xs:ID"/&gt;
        &lt;xs:attribute name="max" type="xs:positiveInteger"/&gt;
     &lt;/xs:complexType&gt;
     &lt;xs:complexType name="sectionFacetsFormat"&gt;
        &lt;xs:complexContent&gt;
           &lt;xs:extension base="sectionFacetsBaseFacet"/&gt;
        &lt;/xs:complexContent&gt;
     &lt;/xs:complexType&gt;
     &lt;xs:complexType name="sectionFacetsPubdate"&gt;
        &lt;xs:complexContent&gt;
           &lt;xs:extension base="sectionFacetsBaseFacet"&gt;
              &lt;xs:attribute name="submax" type="xs:positiveInteger"/&gt;
           &lt;/xs:extension&gt;
        &lt;/xs:complexContent&gt;
  
     &lt;/xs:complexType&gt;
  &lt;/xs:schema&gt;
  </code></pre>