readWhileXmlName

Returns an XML name from the stream and advances the position. Throws an exception if unable to find a valid XML name start character. See https://www.w3.org/TR/xml/#NT-Name for name character rules.