	public PersistedMapper persistMapper(String sessionId, String mapperId, Serializable mapper, int expirationTime) {
		PersistedMapper m = new PersistedMapper();
		m.setMapperId(mapperId);
		Date currentDate = new Date();
		m.setLastModified(currentDate);
		if(expirationTime > 0) {
			Calendar cal = Calendar.getInstance();
			cal.setTime(currentDate);
			cal.add(Calendar.SECOND, expirationTime);
			m.setExpirationDate(cal.getTime());
		}
		m.setOriginalSessionId(sessionId);
		
		String configuration = XStreamHelper.createXStreamInstance().toXML(mapper);
		m.setXmlConfiguration(configuration);
		
		dbInstance.getCurrentEntityManager().persist(m);
		return m;
	}
The software does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.