A simple XML Parser which checks for well formed XML