Issue 75651 - NewChart: RNG:error: attribute "label-cell-range-address"
Summary: NewChart: RNG:error: attribute "label-cell-range-address"
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: new_implementation
Depends on:
Blocks:
 
Reported: 2007-03-22 14:40 UTC by frank
Modified: 2013-02-24 21:18 UTC (History)
1 user (show)

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


Attachments
testdoc (19.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-03-22 14:42 UTC, frank
no flags Details
Patch for xmloff to fix this issue (8.69 KB, patch)
2007-03-22 15:56 UTC, bjoern.milcke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description frank 2007-03-22 14:40:42 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
Comment 1 frank 2007-03-22 14:42:07 UTC
Created attachment 43868 [details]
testdoc
Comment 2 bjoern.milcke 2007-03-22 15:48:42 UTC
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)
Comment 3 bjoern.milcke 2007-03-22 15:56:17 UTC
Created attachment 43873 [details]
Patch for xmloff to fix this issue
Comment 4 bjoern.milcke 2007-03-22 15:57:47 UTC
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.
Comment 5 bjoern.milcke 2007-03-26 13:51:04 UTC
Note: Also check the OOo file-format (.sxc).
Comment 6 bjoern.milcke 2007-03-27 15:26:12 UTC
Please verify in CWS chart2mst3
Comment 7 frank 2007-04-10 14:24:35 UTC
found fixed on cws chart2mst3 mst12 
Comment 8 frank 2007-06-18 11:18:39 UTC
found integrated on master m215