Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316125 - XML-source of report file contains unescaped character ">"
Summary: XML-source of report file contains unescaped character ">"
Status: RESOLVED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-Report-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 09:18 EDT by Steffen Gemein CLA
Modified: 2010-06-10 22:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.