title: NSXMLParser not working on some tags
body: <p>I am trying to parse an xml file (link below) to get all the text, which have  tags. I am able to do this, but the parser is ignoring a line ending with a dash (-) and replacing it with just the dash (see example below), and some with a talking mark the talking mark is ending up on a new blank line. What could be causing this (i.e text encoding issues?, incorrectly parsing).</p>
  
  <p>This is the file:</p>
  
  <blockquote>
    <p><a href="http://www.perseus.tufts.edu/hopper/xmlchunk?doc=Perseus%3Atext%3A1999.02.0055%3Abook%3D1" rel="nofollow">http://www.perseus.tufts.edu/hopper/xmlchunk?doc=Perseus%3Atext%3A1999.02.0055%3Abook%3D1</a></p>
  </blockquote>
  
  <p>I am using code like this to get the content:</p>
  
  <pre><code>   - (void) parser:(NSXMLParser *)parser didEndElement:(NSString *)elementname namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
      {
      if ([elementname isEqualToString:@"l"]) {
          NSString *textSoFar = [[NSUserDefaults standardUserDefaults] stringForKey:@"litText"];
          textSoFar = [[NSString alloc] initWithFormat:@"%@\n%@", textSoFar, currentNodeContent];
          [[NSUserDefaults standardUserDefaults] setObject:textSoFar forKey:@"litText"];
      }
      }
  </code></pre>
  
  <p>An example of a problem line is near the start, it should be:</p>
  
  <pre><code>Id metuens, veterisque memor Saturnia belli,
  prima quod ad Troiam pro caris gesserat Argis—
  necdum etiam causae irarum saevique dolores
  </code></pre>
  
  <p>But it is coming up as:</p>
  
  <pre><code>Id metuens, veterisque memor Saturnia belli,
  —
  necdum etiam causae irarum saevique dolores
  </code></pre>
  
  <p>Let me know if you need any more help understanding my question, thanks for the help in advance.</p>
  
  <p>Also, here is my parser:found characters code, I commented out currentNodeContent and it still does not work.:</p>
  
  <pre><code>- (void) parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
  {
      //currentNodeContent = (NSMutableString *) [string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
  }
  </code></pre>