We have just tried to export a simple test-diagram and have found
an error occuring the shapes background that are ever black:

The following example was originally generated by DIA 0.85 on WIN32.
See the wrong background colour (use Microsoft Explorer 5.5 with the newest
Adobe SVG-Plugin):

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN"
"http://www.w3.org/Graphics/SVG/svg-19991203.dtd">
<svg width="10cm" height="3cm" viewBox="2 1 13 5">
  <rect style="fill: #ffffff" x="3" y="2" width="9" height="2"/>
  <rect style="stroke-width: 0.1; stroke: #000000" x="3" y="2" width="9"
height="2"/>
  <text style="fill: #000000; text-align: center; font-size: 0.6" x="7"
y="3">Hallo</text>
</svg>

The Problem is in line 4 because the fill-attribute has no effect here
( the remaining rect-attributes are also redundant in line 4 and 5).

The solution is the following modified example:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN"
"http://www.w3.org/Graphics/SVG/svg-19991203.dtd">
<svg width="10cm" height="3cm" viewBox="2 1 13 5">
  <rect style="fill: #ffffff; stroke-width: 0.1; stroke: #000000" x="3"
y="2" width="9" height="2"/>
  <text style="fill: #000000; text-align: center; font-size: 0.6" x="7"
y="3">Hallo</text>
</svg>

The fill-attribute is moved to the style attribute list in the next line and
line 4 from above was deleted.

Our question to the DIA-development team:
Is that a known problem and when (in which DIA Release) this problem will be
fixed ?

Kind Regard's

Bernhard Hammelmann
Siemens AG, ICN EN HO SE

Reply via email to