Bug 153378 [Regression]Label text won't show up when the text key is not found
Steps to reproduce: 1.Add a label, set text to "aaa" 2.Add a resource file "a" to the report, add a text key "k1" which is not in the a.properties to the label 3.Preview in Web Viewer Expected result: Label display "aaa" when the text key is not found Actual result: Nothing in preview
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/DocumentUtil.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.api.util;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.core.IModuleModel;
import org.eclipse.birt.report.model.api.elements.structures.EmbeddedImage;
import org.eclipse.birt.report.model.api.metadata.IElementDefn;
import org.eclipse.birt.report.model.core.DesignElement;