protected int parseInt(XMLStreamReader xmlReader, String attr, int defaultValue) throws ParsingException {
		String value = xmlReader.getAttributeValue(null, attr);
		if (value == null) {
			return defaultValue;
		}
		
		return parseInt(value);
	}