minor XmlReader refactoring
minor XmlReader refactoring

vtfuture/RequireJSDotNet,rangp/RequireJSDotNet,davidsk/RequireJSDotNet,vtfuture/RequireJSDotNet,rangp/RequireJSDotNet,davidsk/RequireJSDotNet,rangp/RequireJSDotNet,vtfuture/RequireJSDotNet,davidsk/RequireJSDotNet