<schema documentation>
primary
{
  namespace test
  {
    <list type documentation>
    list list http://www.w3.org/2001/XMLSchema#string
    <union type documentation>
    union union
    <enumeration type documentation>
    enumeration enum: http://www.w3.org/2001/XMLSchema#string
    {
      <enumerator documentation (male)>
      enumerator male
      <enumerator documentation (female)>
      enumerator female
    }
    <complex type documentation>
    complex type
    {
      <local element efoo documentation>
      element efoo
      <local element ebar documentation>
      element ebar
      <local element ebaz documentation>
      element ebaz
      <any documentation>
      any 'any #0'
      <local attribute afoo documentation>
      optional attribute afoo http://www.w3.org/2001/XMLSchema#string
      <local attribute abar documentation>
      optional attribute abar
      {
        <list type documentation>
        list <anonymous> http://www.w3.org/2001/XMLSchema#string
      }
      <local attribute abaz documentation>
      optional attribute abaz http://www.w3.org/2001/XMLSchema#string
      <anyAttribute documentation>
      any-attribute 'any-attribute #0'
      [1, 1] sequence
      {
        [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string
        [1, 1] element ebar
        {
          complex <anonymous>
          {
            <nested local element efoo documentation>
            element efoo
            <nested local attribute afoo documentation>
            optional attribute afoo http://www.w3.org/2001/XMLSchema#string
            [1, 1] sequence
            {
              [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string
            }
          }
        }
        [1, 1] element ebaz http://www.w3.org/2001/XMLSchema#string
        [1, 1] any 'any #0'
      }
    }
    <global element documentation>
    element ebaz http://www.w3.org/2001/XMLSchema#string
    <global attribute documentation>
    attribute abaz http://www.w3.org/2001/XMLSchema#string
  }
}
