Inserted getter for the XMLReader and change the visibility of some
functions for use in hooks.
Bug 64657

Change-Id: Ie40c0721ec32935294756d60ea6686ebeefa61af
Merge "Inserted getter for the XMLReader and change the visibility of some functions for use in hooks. Bug 64657"