Issue 36581 - RNG: content errors in Chart_export1 document
Summary: RNG: content errors in Chart_export1 document
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 12:21 UTC by frank
Modified: 2013-02-24 21:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
testdoc (320.85 KB, application/octet-stream)
2004-11-03 12:23 UTC, frank
no flags Details
original sxc file (37.22 KB, application/octet-stream)
2004-11-03 15:24 UTC, frank
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description frank 2004-11-03 12:21:27 UTC
Object 1 content.xml

x:\fst\jing_val\object1\content.xml:63:106: error: bad value for attribute
"legend-position" from namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0"
x:\fst\jing_val\object1\content.xml:64:196: error: attribute "table-number-list"
from namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at
this point; ignored
x:\fst\jing_val\object1\content.xml:65:85: error: attribute "class" from
namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at this
point; ignored
x:\fst\jing_val\object1\content.xml:65:85: error: required attributes missing
x:\fst\jing_val\object1\content.xml:68:84: error: attribute "class" from
namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at this
point; ignored
x:\fst\jing_val\object1\content.xml:68:84: error: required attributes missing


Object 4 content.xml

x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"stroke-dash" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"marker-start" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"marker-end" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"fill-gradient-name" from namespace
"urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"fill-hatch-name" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"fill-image-name" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:22:746: error: bad value for attribute
"opacity-name" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:44:724: error: bad value for attribute
"marker-start" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:44:724: error: bad value for attribute
"marker-end" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:49:766: error: bad value for attribute
"marker-start" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:49:766: error: bad value for attribute
"marker-end" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:49:766: error: bad value for attribute
"opacity-name" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:54:772: error: bad value for attribute
"marker-start" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:54:772: error: bad value for attribute
"marker-end" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
x:\fst\jing_val\object4\content.xml:70:106: error: bad value for attribute
"legend-position" from namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0"
x:\fst\jing_val\object4\content.xml:71:576: error: attribute "table-number-list"
from namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at
this point; ignored
x:\fst\jing_val\object4\content.xml:80:87: error: attribute "class" from
namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at this
point; ignored
x:\fst\jing_val\object4\content.xml:80:87: error: required attributes missing
x:\fst\jing_val\object4\content.xml:83:84: error: attribute "class" from
namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at this
point; ignored
x:\fst\jing_val\object4\content.xml:83:84: error: required attributes missing
x:\fst\jing_val\object4\content.xml:86:86: error: attribute "class" from
namespace "urn:oasis:names:tc:openoffice:xmlns:chart:1.0" not allowed at this
point; ignored
x:\fst\jing_val\object4\content.xml:86:86: error: required attributes missing
Comment 1 frank 2004-11-03 12:23:48 UTC
Created attachment 18874 [details]
testdoc
Comment 2 frank 2004-11-03 15:24:25 UTC
Created attachment 18883 [details]
original sxc file
Comment 3 bjoern.milcke 2004-11-03 15:28:07 UTC
Summary:

legend-position: see Issue 35421

table-number-list: see Issue 35420

This is an issue: "chart:class => chart:dimension" was missing in to-do list

This is another issue (I have the feeling that this is fixed in newer masters):
content of "stroke-dash", "marker-start", "marker-end", "fill-gradient-name",
"fill-hatch-name" and "fill-image-name" is invalid. (+ marker-start and
marker-end should never appear in charts)
Comment 4 bjoern.milcke 2004-11-04 17:18:27 UTC
almost fixed.
Comment 5 bjoern.milcke 2004-11-05 15:28:06 UTC
The conversion from the class attribute to dimension is done as follows:

chart:class="category"  => chart:dimension="x"
chart:class="domain"    => chart:dimension="x"
chart:class="value"     => chart:dimension="y"
chart:class="series"    => chart:dimension="z"

and vice-versa, while the dimension="x" transforms to class="category" if the
corresponding axis has a categories sub-element, otherwise to "domain"


The empty properties are suppressed, except the draw:opacity-name,
draw:marker-start and draw:marker-end.  These will be valid soon.
See Issue 36757.
Comment 6 bjoern.milcke 2004-11-05 15:33:46 UTC
One addition: the class->dimension conversion is relevant for the class
attribute of the axis element only.
Comment 7 bjoern.milcke 2004-11-09 15:53:31 UTC
reopen
Comment 8 bjoern.milcke 2004-11-09 15:54:22 UTC
please verify
Comment 9 bjoern.milcke 2004-11-09 15:54:41 UTC
back to fixed
Comment 10 frank 2004-11-10 12:29:52 UTC
found fixed on cws schoasis02
Comment 11 frank 2004-11-25 15:07:46 UTC
found fixed on master src680 m63 

have a look at Issue35420 for "table-number-list"