protected Object getMapResource(String id, Node resourceNode) throws ResourceBundleCreateException {
ListMap map = new ArrayHashMap();
for (Iterator i = resourceNode.selectNodes(ResourceBundleConstant.XPATH_RESOURCES).iterator(); i.hasNext(); ) {
Node mapItemNode = (Node) i.next();
Object mapKey = mapItemNode.selectObject(ResourceBundleConstant.XPATH_RESOURCE_ID);
if (map.containsKey(id)) {
throw new ResourceBundleCreateException(ResourceBundleConstant.RB_DUPLICATED_MAP_RESOURCE_KEY,
new Object[] { mapKey, id }, null);
}