Bug 114122 - Chart XML dwarfs report design, seems to not use defaults
Summary: Chart XML dwarfs report design, seems to not use defaults
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: Future   Edit
Assignee: Hank Christensen CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-28 11:39 EDT by David Michonneau CLA
Modified: 2010-10-13 04:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michonneau CLA 2005-10-28 11:39:43 EDT
Open the attached report created by choosing one of the New Report options. 
Look at the XML. Notice that the chart itslef takes about 750 lines out of a 
total of 950 lines of XML.

A general rule applied to the BIRT schema is that we don't serialize properties 
that take their default values. Since this is a default chart, it is surprising 
to see the large amount of text.

This large size will lead to problems with "diffing" two designs; something 
that is a key goal. it is also a large barrier to having third-party 
applications creating the XML, which is another goal.
Comment 1 David Michonneau CLA 2006-01-12 14:35:30 EST
This can't be properly fixed due to the XML schema of the chart, there are too 
many mandatory elements. Besides, the basic chart already has a lot of 
properties set, like the Axes, the Series and their Palettes (with a list of 
colors), etc...

We can provide some minor improvement by setting less values in the builder 
when creating the chart, but that would have almost no impact on the total size 
of the chart. I propose to defer the bug to investigate a possible solution.