SLING-3095 -  StringIndexOutOfBoundsException within
ContentXmlHandler.java:210

Applied patch from Konrad Windszus.

git-svn-id: https://svn.apache.org/repos/asf/sling/branches/tooling-ide-vlt@1525583 13f79535-47bb-0310-9956-ffa450edef68