Better XML and HTML parsing (include entities)