Issue 86063 - RNG:Error:unexpected attribute "chart:right-angled-axes"
Summary: RNG:Error:unexpected attribute "chart:right-angled-axes"
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: 2008-02-13 10:24 UTC by frank
Modified: 2013-02-24 21:20 UTC (History)
3 users (show)

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


Attachments
bugdoc (12.37 KB, application/vnd.oasis.opendocument.text)
2008-02-13 10:25 UTC, frank
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description frank 2008-02-13 10:24:17 UTC
download and validate the bugdoc against Relax NG Schema 1.2 draft6.

You get the following error :

upload:///object_chart.odt/Object 1/content.xml[16,60]:Error:unexpected
attribute "chart:right-angled-axes"

Draft6 has chart:right-angled-axes but it seems it's not used correctly in the
document.
Comment 1 frank 2008-02-13 10:25:38 UTC
Created attachment 51489 [details]
bugdoc
Comment 2 bjoern.milcke 2008-02-13 10:50:29 UTC
->iha: For some reason the right-angled axes feature was specified to be an
attribute at the plot-area rather than a property in the auto-styles. Currently,
it is exported as auto-style.

IMO, it makes sense to use it like we do. The question is, if we can still
propose the OASIS TC to change this for the ODF 1.2 standard.

See current draft:

<define name="chart-plot-area-attlist" combine="interleave">
  <optional>
	<attribute name="chart:style-name">
	  <ref name="styleNameRef"/>
	</attribute>
  </optional>
  <optional>
	<attribute name="chart:right-angled-axes" a:defaultValue="false">
	  <ref name="boolean"/>
	</attribute>
  </optional>
</define>
Comment 3 IngridvdM 2008-02-13 13:06:49 UTC
->bm: I think we should suggest the change to the TC.
The information whether a chart is 3d or not is also only a property in the
auto-style (see ODF 1.1 15.30.1). And we export the new property already since
OOo 2.3 .
The changed proposal could be:
<define name="style-chart-properties-attlist" combine="interleave">
	<optional>
		<attribute name="chart:right-angled-axes">
			<ref name="boolean"/>
		</attribute>
	</optional>
</define>
between chapter 15.30.2 and 15.30.3 (ODF 1.1 numbering).


Comment 4 IngridvdM 2008-06-16 09:11:11 UTC
The change request for ODF 1.2 was accepted, the specification draft was changed
accordingly. So this problem does not occur anymore.
Comment 5 IngridvdM 2008-06-16 09:21:22 UTC
@Frank, please verify with the latest draft.
Comment 6 frank 2008-06-17 13:55:30 UTC
Validation against RNG Schema 1.2 latest (Draft 7 I think) does not show the
validation error, neither on the old document nor on a new one. Therefore closed
fixed.