I have read Xml File using code given below-
String XmlString = \"\"; String resourcePath=FilePathHelper.getResourceFilePath(request); BufferedRea
substring with first index of '>' + 1 ( +1 to get to next char), wont it give you end of xml version? Though it is not clean way of doing this.