Apache OpenOffice (AOO) Bugzilla – Issue 75651
NewChart: RNG:error: attribute "label-cell-range-address"
Last modified: 2013-02-24 21:18:43 UTC
Extract attached bugdoc and validate the content.xml from the sub folder Object 1 with Jing against relax ng Schema and you get the following error output : x:\fst\jing_val\object1\content.xml:90:176: error: attribute "label-cell-range-address" from namespace "urn:oasis:names:tc:opendocument:xmlns:chart:1.0" not allowed at this point; ignored x:\fst\jing_val\object1\content.xml:93:177: error: attribute "label-cell-range-address" from namespace "urn:oasis:names:tc:opendocument:xmlns:chart:1.0" not allowed at this point; ignored x:\fst\jing_val\object1\content.xml:96:177: error: attribute "label-cell-range-address" from namespace "urn:oasis:names:tc:opendocument:xmlns:chart:1.0" not allowed at this point; ignored x:\fst\jing_val\object1\content.xml:99:177: error: attribute "label-cell-range-address" from namespace "urn:oasis:names:tc:opendocument:xmlns:chart:1.0" not allowed at this point; ignored
Created attachment 43868 [details] testdoc
In the new chart we want to allow cellRangeAddress values for the attribute "chart:label-cell-address" (instead of cellAddress), but of course we cannot rename the attribute. The extension of the data type will be proposed for the next ODF version. (The same attribute exists also for the title, but this is not yet implemented in OOo)
Created attachment 43873 [details] Patch for xmloff to fix this issue
Fixed when the attached patch is applied (patch -p 0 < Issue75651.xmloff.patch in the module root of xmloff). Note, that all documents created with the chart2mst3 CWS builds may have the wrong attribute, and will probably no longer be loaded correctly.
Note: Also check the OOo file-format (.sxc).
Please verify in CWS chart2mst3
found fixed on cws chart2mst3 mst12
found integrated on master m215