BIRT报告无法运行

时间:2013-12-03 22:50:22

标签: eclipse report reporting birt

我对BIRT完全不熟悉,但我正在尝试将其集成到一些测试软件中。我从eclipse下载了BIRT报告的一体化软件包(Windows 7,64位)。我刚刚开始我的第一个报告,我无法使用预览选项卡显示任何内容,也无法显示Web查看器。我报告中唯一的内容是一个简单的标签。有什么我做错了吗?

这是我的报告源xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
        <property name="createdBy">Eclipse BIRT Designer Version 4.3.1.v201309091055 Build &lt;4.3.1.v20130917-1035></property>
        <property name="units">in</property>
        <property name="iconFile">/templates/blank_report.gif</property>
        <property name="bidiLayoutOrientation">ltr</property>
        <property name="imageDPI">96</property>
        <styles>
            <style name="report" id="4">
                <property name="fontFamily">sans-serif</property>
                <property name="fontSize">10pt</property>
            </style>
            <style name="crosstab-cell" id="5">
                <property name="borderBottomColor">#CCCCCC</property>
                <property name="borderBottomStyle">solid</property>
                <property name="borderBottomWidth">1pt</property>
                <property name="borderLeftColor">#CCCCCC</property>
                <property name="borderLeftStyle">solid</property>
                <property name="borderLeftWidth">1pt</property>
                <property name="borderRightColor">#CCCCCC</property>
                <property name="borderRightStyle">solid</property>
                <property name="borderRightWidth">1pt</property>
                <property name="borderTopColor">#CCCCCC</property>
                <property name="borderTopStyle">solid</property>
                <property name="borderTopWidth">1pt</property>
            </style>
            <style name="crosstab" id="6">
                <property name="borderBottomColor">#CCCCCC</property>
                <property name="borderBottomStyle">solid</property>
                <property name="borderBottomWidth">1pt</property>
                <property name="borderLeftColor">#CCCCCC</property>
                <property name="borderLeftStyle">solid</property>
                <property name="borderLeftWidth">1pt</property>
                <property name="borderRightColor">#CCCCCC</property>
                <property name="borderRightStyle">solid</property>
                <property name="borderRightWidth">1pt</property>
                <property name="borderTopColor">#CCCCCC</property>
                <property name="borderTopStyle">solid</property>
                <property name="borderTopWidth">1pt</property>
            </style>
        </styles>
        <page-setup>
            <simple-master-page name="Simple MasterPage" id="2">
                <page-footer>
                    <text id="3">
                        <property name="contentType">html</property>
                        <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
                    </text>
                </page-footer>
            </simple-master-page>
        </page-setup>
        <body>
            <label id="7">
                <text-property name="text">BRIEF PRODUCT TEST REPORT</text-property>
            </label>
        </body>
    </report>

1 个答案:

答案 0 :(得分:0)

发现问题,似乎BIRT使用Internet Explorer呈现报告,显然与Internet Explorer 11不兼容。降级IE解决了我的问题