code: protected static Data readXml(@Nonnull final InputStream inputStream, @Nonnull final Charset charset) {
  		Check.notNull(inputStream, "inputStream");
  		Check.notNull(charset, "charset");
  
  		final DataBuilder builder = new DataBuilder();
  		boolean hasErrors = false;
  		try {
  			XmlParser.parse(inputStream, builder);
  		} catch (final ParserConfigurationException e) {
  			hasErrors = true;
  			LOG.warn(e.getLocalizedMessage());
  		} catch (final SAXException e) {
  			hasErrors = true;
  			LOG.warn(e.getLocalizedMessage());
  		} catch (final IOException e) {
  			hasErrors = true;
  			LOG.warn(e.getLocalizedMessage());
  		} catch (final IllegalStateException e) {
  			hasErrors = true;
  			LOG.warn(e.getLocalizedMessage());
  		} catch (final Exception e) {
  			hasErrors = true;
  			LOG.warn(e.getLocalizedMessage(), e);
  		} finally {
  			Closeables.closeAndConvert(inputStream, true);
  		}
  
  		return hasErrors ? Data.EMPTY : builder.build();
  	}
docs: Reads the <em>UAS data</em> in XML format based on the given URL.<br>
  <br>
  When during the reading errors occur which lead to a termination of the read operation, the information will be
  written to a log. The termination of the read operation will not lead to a program termination and in this case
  this method returns {@link Data#EMPTY}.
  
  @param inputStream
  an input stream for reading <em>UAS data</em>
  @param charset
  the character set in which the data should be read
  @return read in <em>UAS data</em> as {@code Data} instance
  @throws net.sf.qualitycheck.exception.IllegalNullArgumentException
  if any of the given arguments is {@code null}
  @throws net.sf.uadetector.exception.CanNotOpenStreamException
  if no stream to the given {@code URL} can be established