title: JDOM getChilden not showing all children
body: <p>My xml looks like this- </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;root&gt;
    &lt;Objects&gt;
      &lt;object1&gt;object1Value&lt;/object1&gt;
      &lt;object2&gt;object1Value&lt;/object2&gt;
    &lt;/Objects&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>To show all objects under "Objects" I am using code- </p>
  
  <pre><code>    List collected_objects = rootNode.getChildren("Objects");
  
      ListIterator litr = collected_objects.listIterator();
      while (litr.hasNext()) {
  
          Element  element = (Element) litr.next();
          System.out.println(element.toString());
      }
  </code></pre>
  
  <p>but it displays- </p>
  
  <pre><code>[Element: &lt;Objects/&gt;]
  </code></pre>
  
  <p>Why isn't it showing two objects?</p>