Apache OpenOffice (AOO) Bugzilla – Issue 36581
RNG: content errors in Chart_export1 document
Last modified: 2013-02-24 21:19:31 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
Created attachment 18874 [details] testdoc
Created attachment 18883 [details] original sxc file
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)
almost fixed.
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.
One addition: the class->dimension conversion is relevant for the class attribute of the axis element only.
reopen
please verify
back to fixed
found fixed on cws schoasis02
found fixed on master src680 m63 have a look at Issue35420 for "table-number-list"