}
final ResourceReference[] referencedResources = attributeMetaData.getReferencedResources
(element, state.getMasterReport().getResourceManager(), attValue);
for (int j = 0; j < referencedResources.length; j++)
{
final ResourceReference reference = referencedResources[j];
if (reference.isLinked())
{
AbstractElementWriteHandler.logger.debug("Linked Resource will not be copied into bundle: " + reference);
continue;
}
final ResourceKey path = reference.getPath();
final Object identifier = path.getIdentifier();
if (identifier instanceof String == false)
{
AbstractElementWriteHandler.logger.warn("Resource-Bundle-Key has no parseable path: " + path);
continue;