I want to read an XML file that has a schema declaration in it.
And that\'s all I want to do, read it. I don\'t care if it\'s valid, but I want it to be well formed.
This works well to check whether the xml is well formed irrespective of whether it contains a DTD declaration or not.