Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316125

Summary: XML-source of report file contains unescaped character ">"
Product: z_Archived Reporter: Steffen Gemein <steffen.gemein>
Component: BIRTAssignee: Birt-Report-inbox <Birt-Report-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: henniger, rlu
Version: 2.5.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Gemein CLA 2010-06-08 09:18:46 EDT
Build Identifier:  20100218-1602

The XML-source of any report contains an invalid character ">" within the createdBy-property. You can find this character under the XPath \\report\property[@name="createdBy"].

An example report looks like this:
 
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1">
    <property name="createdBy">Eclipse BIRT Designer Version 2.5.2.v20100208 Build &lt;2.5.2.v20100210-0630></property>
    ...
</report>

The first bracket surrounding the build number is escaped correctly by the &lt; but the second bracket is unescaped.  

Reproducible: Always

Steps to Reproduce:
1. Create new Report-Project
2. Create new Blank Report 
3. View XML-Source
Comment 1 Rick Lu CLA 2010-06-09 23:13:56 EDT
    <property name="createdBy">Eclipse BIRT Designer Version 2.5.2.v20100208
Build &lt;2.5.2.v20100210-0630></property>


It is correct. Only "<" is required to be escaped. ">" is OK to exist.
Comment 2 Rick Lu CLA 2010-06-10 22:45:01 EDT
see above comment.