Bug 137165 Stream closed exception
My report generates one simple chart. The data to this chart are generated by my servlet as XML. When I launch this report in web-based viewer (/birt/frameset?__report=) report is working, but when I launch it as standalone HTML (/birt/run?__report=) the viewer return exception: java.lang.RuntimeException: Stream closed at org.eclipse.birt.report.data.oda.xml.util.SaxParser.run(SaxParser.java:108) at java.lang.Thread.run(Thread.java:534)
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
{
	/**
	 * @param fileName
	 * @throws MalformedURLException 
	 * @throws URISyntaxException 
	 */
	public static ATreeNode getSchemaTree( String fileName, boolean includeAttribute, int numberOfElementsAccessiable )
			throws OdaException, MalformedURLException, URISyntaxException
	{
		if ( fileName.toUpperCase( ).endsWith( ".XSD" ) )
			return XSDFileSchemaTreePopulator.getSchemaTree( fileName,includeAttribute );
		else
			return new XMLFileSchemaTreePopulator( numberOfElementsAccessiable ).getSchemaTree( fileName,includeAttribute );
	}
}
/**
 * This class is used to populate an XML schema tree from an xml file.
 * 
 */
final class XMLFileSchemaTreePopulator implements ISaxParserConsumer