re-enable test - it's the code that is broken
rename some functions for consistency
fix declared type and add a comment to it
fix DTD loading and base URL setting for iterparse() and pull parsers