rtype.value = parser.getAttributeValue("", "value"); //$NON-NLS-1$
if (rtype.value != null && rtype.value.length() == 0) { //$NON-NLS-1$
rtype.value = null;
}
if (poiParentCategory != null) {
<BUG>rtype.poiCategory = AmenityType.valueOf(poiParentCategory.toUpperCase());
</BUG>
rtype.poiSpecified = true;
}
if (poiParentPrefix != null) {

rtype.value = parser.getAttributeValue("", "value"); //$NON-NLS-1$
if (rtype.value != null && rtype.value.length() == 0) { //$NON-NLS-1$
rtype.value = null;
}
if (poiParentCategory != null) {
rtype.poiCategory = AmenityType.fromString(poiParentCategory);
rtype.poiSpecified = true;
}
if (poiParentPrefix != null) {
