code: public static Document toDocument(InputStream is) throws MarshalException {
  		try {
  			return newDocumentBuilder().parse(is);
  		} catch (SAXException e) {
  			IfmapJLog.error(e.getMessage());
  			throw new MarshalException(e.getMessage());
  		} catch (IOException e) {
  			IfmapJLog.error(e.getMessage());
  			throw new MarshalException(e.getMessage());
  		}
  	}
docs: Marshal a {@link Document} to {@link InputStream}
  
  @param is the InputStream containing XML data
  @return {@link Document} containg the XML data
  @throws SAXException
  @throws IOException