title: Why does this not parse correctly?
body: <p>Ok so basically, I am trying to parse a sub-element:</p>
  
  <pre><code>&lt;element&gt;
     &lt;sub element 1&gt;
     &lt;sub element 2&gt;
     &lt;sub element 3&gt;
  &lt;element&gt;
  </code></pre>
  
  <p>The current original document that I want to parse contain as below for example:
  sub-element-content1: <code>AB, CD, DE, &amp; SOMETHING DISPLAYED</code>.</p>
  
  <p>I only managed to grab <code>&amp; SOMETHING DISPLAYED</code>. I could not parse the whole sub-element.</p>
  
  <pre class="lang-objectivec prettyprint-override"><code>- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
  {
  currentNodeContent = (NSMutableString *)[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
  //NSLog(@"CURRENT CONTENT: %@", currentNodeContent);
  }
  </code></pre>
  
  <p>That is the 1st issue. The second issue that I am having is that there are supposed to be 11 items in reference to the above. But it only managed to grab 2 items. Please note that each item contains the sub-elements except that some sub-elements are <code>null</code></p>
  
  <pre><code>Issues has been added: (null)-(null)-(null)
  Issues has been added: sub-element-1 sub-element2 sub-element3
  </code></pre>
  
  <p>Below is portion of <code>didEndElement</code>:</p>
  
  <pre class="lang-objectivec prettyprint-override"><code>if ([elementName isEqualToString:@"Issue"]) {
      //add currentIssue object into issues array
      [issues addObject:currentIssue];
      NSLog(@"Issues has been added: %@-%@-%@", currentIssue.sub-element-1, currentIssue.sub-element-2, currentIssue.sub-element-3);
      currentIssue = nil;
      currentNodeContent = nil;
  }
  if ([elementName isEqualToString:@"sub element 1"]) {
      currentIssue.sub-element-1 = currentNodeContent;
      NSLog(@"sub element 1: %@", currentIssue.sub-element-1);
  }
  if ([elementName isEqualToString:@"sub element 2"]) {
      currentIssue.sub-element-2 = currentNodeContent;
      NSLog(@"sub element 2: %@", currentIssue.sub-element-2);
  }
  if ([elementName isEqualToString:@"sub element 3"]) {
      currentIssue.sub-element-3 = currentNodeContent;
      NSLog(@"sub element 3: %@", currentIssue.sub-element-3);
  }
  </code></pre>
  
  <p>Your advice(s) and/or suggestion(s) are greatly appreciated.</p>
  
  <p>Update 1:
  Ok, I have solved the problem.</p>
  
  <p>It appears that "currentIssue = nil" causes the object to lose its contents as I was able to print out the currentNodeContent.</p>
  
  <p>So, by removing, currentIssue, I am now able to see all the supposed elements that I need.</p>
  
  <p>But there is one more problem. I can see all the sub elements now, but there only one sub element left which was grabbed partially which I do not understand why.</p>