OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ODF 1.1 Errata


Dear TC members,

please find attached a couple of errors we've found in the OpenDocument 1.1 
specification, together with a proposed resolution. In my point of view, none 
of the proposed changes is substantial.

Best regards

Michael


Section 9.2.19 Glue Points/Align
--------------------------------
Description: The "draw:align" attribute has to be optional in the schema.

Proposed resolution: Add <optional> to schema.

Additional info: The description of the "draw:position" attribute requires 
that the attribute is optional, but that's missing in the schema.


Section 13.1 Basic Animation Elements
-------------------------------------
Description: Timing attributes are missing for the <anim:animate>, 
<anim:set>, <anim:animateMotion>, <anim:animateColor>, 
<anim:animateTransform> and <anim:transitionFilter> elements described in 
this section.

Proposed resolution: In the schema of these elements, replace
     <ref name="common-fill-timing-attlist"/>
with
     <ref name="common-timing-attlist"/>
Further, in the schema of <anim:animate>, remove the reference to 
"common-repeat-timing-attlist".

Additional info: The SMIL counterparts of these element support all basic 
timing attributes, but due to an typo, the OpenDocument variants support only 
the single timing attribute "smil:fill". The only exception is 
<anim:animate>, that supports also repeat attributes. These are already 
included in the "common-timing-attlist".


Section 13.4.1 Animation Timing Attributes/Repeating Elements
-------------------------------------------------------------
Description: The value "indefinite" is missing for the "smil:repeatCount" 
attribute.

Proposed resolution: Replace
     <ref name="nonNegativeInteger"/>
with
     <choice>
         <ref name="nonNegativeInteger"/>
         <value>indefinite</value>
     </choice>

Additional info: The value is existing in the SMIL attribute we are referring 
(See 10.3.1 of [SMIL20]), but it has been overseen to add this value to the 
schema.

Description: There is an <optional/><optional> missing between the 
"smil:repeatCount" and "smil:repeatDur" attribute definitions in the schema.

Proposed resolution: Add <optional/><optional>.

Additional info: The SMIL specification we are referencing says in 10.3.1: 
"The author can specify either how many times to repeat, using repeatCount, 
or how long to repeat, using repeatDur.". This means that the two attributes 
must be usable independent of each other.


Section 13.4.3 Sequential Animations
------------------------------------
Description: In the schema for <anim:seq>, the element content is missing. It 
has to be the same as for the <anim:par> element.

Proposed resolution: Add the following to the schema:
     <zeroOrMore>
         <ref name="animation-element"/>
     </zeroOrMore>

Additional info: An example in section 9.8.1 actually shows the content.


Section 13.4.4 Iterative Animations
-----------------------------------
Description: The define for the attribute list of the <anim:iterate> element 
is called "anin-iterate". It should be "anim:iterate" for consistency reasons.

Proposed resolution: Rename "anin-iterate" to "anim-iterate".

Description: The "anim:sub-item" attribute is missing for <anim:iterate>.

Proposed resolution: Replace the section "Target Element" with
The [SMIL20] smil:targetElement and anim:sub-item attributes specify the 
target element to whose children the effects should be applied. See section 
9.8.2 for details about the attributes' usage in presentation documents.
<define name="anin-iterate-attlist" combine="interleave">
	<ref name="common-anim-target-attlist"/>
</define>

Additional info: Section 9.8.2 explicitly mentions this attribute, but it is 
missing in the schema.


Section 14.4.1 Headers and footers
----------------------------------
Description: Change tracking information is not allowed in the schema.

Proposed resolution: Add the following to "header-footer-content" before the 
<ref name="text-decls"/>:
	<ref name="text-tracked-changes"/>

Additional information: the <text:change>, <text:change-start> and 
<text:change-end> elements are allowed within headers and footers, but they 
also required that <text:tracked-changes> is allowed.


Section 14.4.2 Presentation Notes
---------------------------------
Description: The schema does not allow to include forms

Proposed resolution: Add the following to the schema (behind <ref 
name="presentation-notes-attlist"/>:
	<ref name="office-forms"/>

Additional information: Presentation notes are pages, that may have controls. 
This requires that they may contain the <office:forms> element.


Section 15.3.8 Dynamic Spacing
------------------------------
Description: The "style:dynamic-spacing" attribute is in the wrong define. It 
is in "style-header-footer-attlist", but has to be in 
"style-header-footer-properties-attlist".

Proposed resolution: Replace
<define name="style-header-footer-attlist" combine="interleave">
with
<define name="style-header-footer-properties-attlist" combine="interleave">

Additional info: The "style:dynamic-spacing" is a formatting property.


Section 15.31.3 Scaling
-----------------------
Description: In the schema, the "chart:interval-minor" attribute has to be 
called "chart:interval-minor-divisor".

Proposed resolution: In the schema, rename attribute "chart:interval-minor" 
to be "chart:interval-minor-divisor".

Additional info: The description mentions a "chart:interval-minor-divisor" 
attribute, but in the schema, the attribute is called "chart:interval-minor". 
The description actually is correct, that means, the name in the schema has 
to be adapted.


Section 15.4.18 Font Character Set
----------------------------------
Description: The schema for "style:font-charset-asian" and 
"style:font-charset-complex" is missing

Proposed resolution: Add the following to the schema:
	<optional>
		<attribute name="style:font-charset-asian">
			<ref name="textEncoding"/>
		</attribute>
	</optional>
	<optional>
		<attribute name="style:font-charset-complex">
			<ref name="textEncoding"/>
		</attribute>
	</optional>

Additional info: The attributes are described but are missing in the schema.


Section 15.5.35 Vertical Alignment
----------------------------------
Description:
In the description of the example, "middle" is referred to as "center".

Proposed resolution: Replace
"The following graphic illustrates the effect of the vertical alignment 
property when it is set to baseline, top, bottom, and center respectively."
with
"The following graphic illustrates the effect of the vertical alignment 
property when it is set to baseline, top, bottom, and middle respectively."

Description:
In the schema, the value "baseline" is missing.

Proposed resolution: Extend the <choice> in the schema with
     <value>baseline</value>

Additional info: "baseline" is mentioned in the description and there is an 
example for it, but it is not in the schema.


Section 15.36.7 Fade Color
--------------------------
Description: In the schema for "smil:fadeColor", the attribute's value type 
has to be "color".

Proposed resolution: In the schema, replace the attribute's type definition with
	<ref name="color"/>

Additional info: The current schema seems to be a copy-and-paste error from 
the previous section.


Appendix A Strict Relax-NG Schema
---------------------------------
Description: "style-chart-properties-content" references wrong define

Proposed resolution: In the "style-chart-properties-content" define, replace
	<ref name="style-properties-content"/>
with
	<ref name="style-chart-properties-content-strict"/>

Additional info: The current schema does not include the strict definitions 
for chart properties.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]