The text for the calcCompleted boolean value is in conflict with the definition af boolean type according to the XML Schema definition at http://www.w3.org/TR/xmlschema-2/ which only allow the values {true, false, 1, 0}. , the values "on", "off" is not allowed
This mistake seem to be widespread across the whole specification, which indicate a more carefully review should be conducted
a text search through part 4 of the specification reveals 978 reference to the phrase "XML Schema boolean datatype" where we didn’t find any specific definition about the expected level or adoption.
This also indicate the need for a more rigid quality assurance of the specification.

Refer to existing definition of boolean type ST_ONOFF. Refer to part 4 2.18.67.

Page 1876 Part 4
Section 3.2.2

Te

Proposed Disposition of DIS 29500 Comment DK-0029 (Modified: 2008-01-04) Agreed; in order to be consistent, updates will be made to the standard to specify that all sections use the xsd:boolean datatype consistently and make no additional extensions to that type. Part 4, §2 (WordprocessingML), currently defines the ST_OnOff simple type which is used by a number of attributes. This simple type allows for the same values as xsd:boolean, and additionally allows for the values of “on” and “off”. To be consistent with the rest of the standard, the ST_OnOff simple type will be modified to simply reference the xsd:boolean datatype and provide no additional extensions. The following changes will be made: Part 4, §2.18.67, page 1,779, lines 16­20 A value of on , 1 , or true specifies that the property shall be turned on. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of off , 0 , or false specifies that the property shall be explicitly turned off. This simple type’s contents are a restriction of the XML Schema string boolean datatype. The following are possible enumeration values for this type: Enumeration Value Description 0 (False) Specifies that the binary state of this property is off (parent property is explicitly not applied). 1 (True) Specifies that the binary state of this property is on (parent property is explicitly applied). false (False) Specifies that the binary state of this property is off (parent property is explicitly not applied). off (False) Specifies that the binary state of this property is off (parent property is explicitly not applied). on (True) Specifies that the binary state of this property is on (parent property is explicitly applied). true (True) Specifies that the binary state of this property is on (parent property is explicitvly applied). Part 4, §2.18.67, page 1,782, lines 3­10 The following XML Schema fragment defines the contents of this simple type: <simpleType name="ST_OnOff"> <restriction base="xsd: string boolean " / > <enumeration value="true"/> <enumeration value="false"/> <enumeration value="on"/> <enumeration value="off"/> <enumeration value="0"/> <enumeration value="1"/> </restriction> </simpleType> In Part 4, §3 (SpreadsheetML), the xsd:boolean datatype is already used, without extension. There are however errors within the descriptions of attributes that reference the xsd:boolean datatype. Often the description states that the values “on” and “off” are allowed. All such occurrences in §3 will be corrected to only state that values “0″, “1″, “true”, and “false” are allowed. Part 4, §5 (DrawingML), the xsd:boolean datatype is already used, without extension. There are however errors within the descriptions of attributes that reference the xsd:boolean datatype. Often the description states that the values “on” and “off” are allowed. All such occurrences in §5 will be corrected to only state that values “0″, “1″, “true”, and “false” are allowed. Part 4, §7.1 (Math), currently defines the ST_OnOff simple type which is used by a number of attributes. This simple type only allows for “on” and “off”. To be consistent with the rest of the standard, the ST_OnOff simple type will be modified to simply reference the xsd:boolean datatype and provide no additional extensions. The following changes will be made: Part 4, §7.1.3.9, page 5,097, lines 8­11 7.1.3.9 ST_OnOff (On Off) A value of 1 or true specifies that the property shall be turned on. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property shall be explicitly turned off. The boolean value of either on or off . This simple type’s contents are a restriction of the XML Schema string boolean datatype. The following are possible enumeration values for this type: Enumeration Value Description off (Off) Off on (On) On Part 4, §7.1.3.9, page 5,097, lines 13­19 The following XML Schema fragment defines the contents of this simple type: <simpleType name="ST_OnOff"> <restriction base="xsd: boolean string " / > <enumeration value="on"/> <enumeration value="off"/> </restriction> </simpleType> Finally, any examples which use the values on or off will be changed to use the values 0 and 1 . Similar Comments: CA-0013 , DK-0027 , FR-0385 , FR-0386 , FR-0400 , GB-0317 , GB-0475 , GB-0623 , GB-0630 , US-0237

Tag and Go

No Comments

Sorry, the comment form is closed at this time.

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)