<div dir="ltr">Francis,<div><br></div><div>Thank you very much for your thorough work.</div><div><br></div><div>Some existing optional attributes are made mandatory in your </div><div>proposal. We have to make sure that this change does not </div><div>cause any problems to existing documents.</div><div><br></div><div>I created a text file, available at <a href="http://www.asahi-net.or.jp/~eb2m-mrt/AttsPerElem.txt">http://www.asahi-net.or.jp/~eb2m-mrt/AttsPerElem.txt</a></div><div>It provides a list of always-present attributes and that </div><div>of sometimes-present attributes for each element. This</div><div>file is created by examining all OOXML files in my computer.</div><div><br></div><div>I hoped that my experiment would help, but none of the elements </div><div>having optional-but-proposed-as-mandatory attributes appear in </div><div>my file ...... </div><div><br></div><div>Regards,</div><div>Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-18 1:04 GMT+09:00 Francis Cave <span dir="ltr"><<a href="mailto:francis@franciscave.com" target="_blank">francis@franciscave.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-GB"><div class="gmail-m_-6029324848808297843m_9179500981370895627WordSection1"><p class="MsoNormal">Dear all<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Here are proposed resolutions and actions for a further 12 elements in DR 16-0007.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Francis<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.8.7 cellStyle (@name) (complex type: CT_CellStyle)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There is a note on this attribute in MS-OE376 (limiting the name length – see section 2.1.724, page 310, note a), but no mention of the attribute being optional in the standard or how to interpret its omission.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I pointed out on 2016-08-08 that this issue relates to DR 16-0016. Any further clarification of the prose will need to take account of the resolution of DR 16-0016. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">On further reading of the current specification, and after running some tests in Excel, I conclude that @name is optional because it is not required if @builtinId is specified. . See Annex G.2 for a list of built-in style names. If @builtinId is specified and @name is either omitted or has a value other than the one specified in Annex G.2, Excel opens the document without complaint and restores the correct built-in style name when the document is saved. If both @builtinId and @name are omitted, Excel opens the document without complaint and silently discards the unnamed style.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution</i>: Add the following to the description of @name in prose: “If this attribute and builtinId are both omitted, this cell style shall be ignored.”<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.8.34 rgbColor (@rgb) (complex type: CT_RgbColor)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There is no note on this attribute in MS-OE376. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The element <span style="font-family:Cambria,serif">rgbColor</span> has only this one attribute and no content, so is meaningless if the attribute is omitted. Yet the schema explicitly specifies that the attribute is optional. The complex type CT_RgbColor is only used for this element. I therefore conclude that there is a mistake in the schema.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> Change the schema to make this attribute required. No change to prose.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.2 b (@cp, @f, @u) (complex type: CT_Boolean)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.763 (page 339) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>c. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>d. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>g. The standard does not define the relation between the u attribute and the sharedItems parent.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the u attribute only applies when the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>h. The standard does not define restrictions on when the cp attribute should be present.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies to OLAP-based PivotTables only and the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>i. The standard does not specify restrictions on value of the cp attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the value of the cp attribute shall be equal to the number of x child elements and less than or equal to the mappingCount attribute of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>j. The standard does not define the relation between the f attribute and the sharedItems parent.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the f attribute only applies when the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The attributes @f and @u indicate binary properties of an item in a PivotTable: is a calculated item or not; is an unused item or not. Omitting the attribute would logically imply that these properties don’t apply to the item, so I conclude that Excel’s usage is the only logical usage and should be documented in the standard.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Should some of the Excel restrictions on the use of @cp, @f and @u be documented in the standard, or are they implementation-specific?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The complex type CT_Boolean in SpreadsheetML is only used for this element, but this element appears in content models defined by the following complex types:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0cm" type="disc"><li class="MsoNormal" style="margin-left:0cm">CT_GroupItems<u></u><u></u></li><li class="MsoNormal" style="margin-left:0cm">CT_Record<u></u><u></u></li><li class="MsoNormal" style="margin-left:0cm">CT_SharedItems<u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376 states that @cp is only used by Office in <span style="font-family:Cambria,serif">sharedItems</span> (§18.10.1.90). Strangely, it is only <span style="font-family:Cambria,serif">groupItems</span> (§18.10.1.38) that explicitly mentions OLAP. There are no examples in the standard of the use of @cp, although it is available on six SpreadsheetML elements: <span style="font-family:Cambria,serif">b</span>, <span style="font-family:Cambria,serif">d</span>, <span style="font-family:Cambria,serif">e</span>, <span style="font-family:Cambria,serif">m</span>, <span style="font-family:Cambria,serif">n</span> and <span style="font-family:Cambria,serif">s</span>. Judging by the notes on these elements in MS-OE376, the usage of @cp varies according to the element, so examples in each case would be useful to promote interoperability.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.8 calculatedItem (@formula) (complex type: CT_CalculatedItem)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There is a note on this attribute in MS-OE376 (limiting the maximum value – see section 2.1.769, page 343, note a), but no mention of the attribute being optional in the standard or how to interpret its omission.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This element specifies a formula associated with a specific PivotTable field. It does not make any sense for the PivotTable field not to be specified. However, the presence of extLst in the complex type CT_CalculatedItem suggests that there might be other ways in which associated the PivotTable field could be determined.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed action:</i> Ask the Excel team to clarify under what circumstances @field can be omitted. Depending upon their response, decide whether or not to change prose or change the schema to make this attribute required.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.21 d (@cp, @f, @u) (complex type: CT_DateTime)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.777 (page 346) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>a. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>b. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>g. The standard does not define the relationship between the cp attribute and the datasource type.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies to OLAP-based PivotTables only.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>h. The standard does not define the relation between the cp attribute and the sharedItems parent.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies when the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>i. The standard does not define the relation between @f and the sharedItems parent.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @f applies when the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>j. The standard does not define restrictions on the value of @cp.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Excel, @cp shall be equal to the count of child x elements and be less than or equal to the @mappingCount of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>k. The standard does not define the relation between @u and the sharedItems parent.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Excel, @u applies when the parent is sharedItems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">See discussion above for §18.10.1.2 <span style="font-family:Cambria,serif">b</span>. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.27 e (@bc, @cp, @f, @fc, @in, @u) (complex type: CT_Error)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.781 (page 348) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>d. The standard does not define the relation between the cp attribute and child elements.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the value of the cp attribute shall be equal to the count of child elements and be less than or equal to the @mappingCount of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>e. The standard does not define the relation between the cp attribute and the datasource type.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies only to OLAP-based PivotTables.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>f. The standard does not define relation between the cp attribute and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>g. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>i. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>k. The standard does not define relation between the f attribute and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the f attribute applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>l. The standard does not define relation between the u attribute and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the u attribute applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @cp, @f and @u, see discussion above for §18.10.1.2 <span style="font-family:Cambria,serif">b</span>. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @bc (Background Color) and @fc (Foreground Color), no default value can be given, because one would expect the defaults in these cases to be controlled by the application.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding the attribute @in (Format Index), this clearly only applies if the format string for this entry in the PivotTable is stored in an OLAP <span style="font-family:Cambria,serif">serverformat</span> (§18.10.1.86) element.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available. No action for the other attributes.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.45 item (@x) (complex type: CT_Item)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.793 (page 353) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>k. The standard restricts the x attribute to non-OLAP PivotTables only.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel allows the x attribute in both OLAP and non-OLAP PivotTables.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>m. The standard does not specify when the x attribute is required.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel requires the x attribute when the value of the t attribute is data.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>n. The standard states that the x attribute specifies an index to an item in the pivotFields collection.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses the x attribute to specify an index to an item in the sharedItems collection for this pivotField.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There no mention of OLAP in the description of the attribute @x for this element in the standard, so note k above can be ignored.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Should note m be documented in the standard? The value <span style="font-family:Consolas">data</span> is the default value for @t, so it might be useful to document that @x is required if @t is either omitted or has the value <span style="font-family:Consolas">data</span>.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Note n does not quite agree with the current description of @x in the standard, which states that @x “specifies the item index in <span style="font-family:Cambria,serif">pivotFields</span> collection in the PivotCache”. But §18.10.1.67 suggests that a PivotCache in fact contains <span style="font-family:Cambria,serif">cacheFields</span>, not <span style="font-family:Cambria,serif">pivotFields</span>.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Further exploration of the normative text in §18.10 Pivot Tables tends to lead to more confusion. For example, in §18.10.1.46 there is an example which is unintelligible, until one realises that it relates to a longer example in §L.2.9 in the Primer. However, this doesn’t completely resolve the confusion: for example, a value “Adam L Flores” is referred to in §18.10.1.46 and in §L.2.9.3.4.3, but is not included in the example pivotCacheDefinition in §L.2.9.3.2.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed action:</i> A thorough review of Pivot Table normative text and Primer material is needed to clarify how to implement Pivot Tables in SpreadsheetML, which might well lead to a need for more wholesale revision of §18.10 and §L.2.9. Tinkering with the description of attribute values here and there will not suffice.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§<b>18.10.1.50 m (@bc, @cp, @f, @fc, @in, @u) (complex type: CT_Missing)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.797 (page 357) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>c. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>d. The standard does not define the relation between @cp and child elements.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the value of @cp shall be equal to the count of child x elements and be less than or equal to the @mappingCount of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>e. The standard does not define the relation between @cp and the datasource type.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @cp applies only to OLAP-based PivotTables.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>f. The standard does not define relation between @cp and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @cp applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>i. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>j. The standard does not define relation between @f and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @f applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>k. The standard does not define relation between @u and sharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @u applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal">Regarding attributes @cp, @f and @u, see discussion above for §18.10.1.2 <span style="font-family:Cambria,serif">b</span>. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @bc, @fc and @in, see discussion above for §18.10.1.27 <span style="font-family:Cambria,serif">e</span>.<u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available. No action for the other attributes.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.51 map (@dimension, @measureGroup) (complex type: CT_MeasureDimensionMap)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.798 (page 358) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>a. The standard does not place any restrictions on the value of the measureGroup attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the value of the measureGroup attribute must be less than the number of items in measureGroups collection.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>b. The standard does not restrict the value of @dimension.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @dimension must be less than number of items the dimensions collection.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>c. The standard does not specify the base of the dimension attribute index.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office treats the dimension attribute as a zero-based index.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>d. The standard does not specify the base of the measureGroup attribute index.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office treats the measureGroup attribute as a zero-based index.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>e. The standard states that the dimension attribute is optional.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel requires this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>f. The standard implies that the measureGroup attribute is optional.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel requires this attribute.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The element has these two attributes and no content. There seems no point in having the element without specifying the two elements that are being mapped/associated: a <span style="font-family:Cambria,serif">map</span> and a <span style="font-family:Cambria,serif">measureGroup</span>. It would seem to be a mistake in the schema that these attributes are declared to be optional.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> Change the schema to make these two attributes required. No change to the prose.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.60 n (@bc, @cp, @f, @fc, @in, @u) (complex type: CT_Number)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.804 (pages 360–361) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>a. The standard does not define relation between @cp and the datasource type.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office allows @cp only with OLAP PivotTables.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>e. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>f. The standard does not restrict the value of @cp.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office requires that @cp be equal to the count of child x elements and be less than or equal to the mappingCount of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>g. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>n. The standard does not state when @f is valid.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @f is valid only when the parent of the n element is of CT_SharedItems type.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>o. The standard does not define relation of @u with CT_SharedItems node.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @u is used only when the n element's parent is of CT_SharedItems type.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>q. The standard does not place a restriction for on the value of the cp attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, the cp attribute applies only when the node parent is sharedItems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Notes f and q appear to answer the same question, but in different ways. Are both correct?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @cp, @f and @u, see discussion above for §18.10.1.2 <span style="font-family:Cambria,serif">b</span>. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @bc, @fc and @in, see discussion above for §18.10.1.27 <span style="font-family:Cambria,serif">e</span>.<u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available. No action for the other attributes.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.74 pivotTableStyleInfo (@showColHeaders, @showColStripes, @showLastColumn, @showRowHeaders, @showRowStripes) (complex type: CT_PivotTableStyle)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.815 (page 381) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>a. The standard defines the @showLastColumn to determine if the last column of formatting is shown.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office ignores this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>b. The standard does not specify a default value for the showRowHeaders attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of 0 for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>c. The standard does not specify a default value for the showRowStripes attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of 0 for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>d. The standard does not specify a default value for the showColStripes attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of 0 for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>e. The standard does not specify a default value for the showColHeaders attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of 0 for this attribute.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Given that Excel ignores @showLastColumn, it probably makes sense for the default value to be <span style="font-family:Consolas">false</span>.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Since all the other attributes have Boolean values, it would make sense for their omission to imply a default value <span style="font-family:Consolas">false</span>. One might be able to conceive of a more limited implementation in which a default value <span style="font-family:Consolas">true</span> might be appropriate, but this seems unlikely.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i>Proposed resolution:</i> For clarity, add <span style="font-family:Consolas">use=“optional”</span> to the schema attribute declarations for @showColHeaders, @showColStripes, @showRowHeaders and @showRowStripes. Add <span style="font-family:Consolas">default=“false”</span> to all five attribute declarations.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>§18.10.1.85 s (@bc, @cp, @f, @fc, @in, @u) (complex type: CT_String)<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">MS-OE376, subsection 2.1.821 (page 385) includes the following notes:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>a. The standard does not specify a default value for the u attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>b. The standard does not specify a default value for the f attribute.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Excel uses a default value of false for this attribute.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">…<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>f. The standard does not state that @cp is required in certain cases.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">Office requires that @cp shall be equal to the count of child x elements and be less than or equal to the @mappingCount of the corresponding cacheField element.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>g. The standard does not state that the presence of @cp is related to the datasource type.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @cp is specific to OLAP-based PivotTables.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>h. The standard does not define a relationship between @cp and the parent element of s.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @cp applies only when the parent of the s element is of type CT_SharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>i. The standard does not define a relationship between @f and the parent element of s.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @f applies only when the parent of the s element is of type CT_SharedItems.<u></u><u></u></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt"><i>j. The standard does not define a relationship between @u and the parent element of s.<u></u><u></u></i></p><p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:36pt">In Office, @u applies only when the parent of the s element is of type CT_SharedItems.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @cp, @f and @u, see discussion above for §18.10.1.2 <span style="font-family:Cambria,serif">b</span>. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regarding attributes @bc, @fc and @in, see discussion above for §18.10.1.27 <span style="font-family:Cambria,serif">e</span>.<u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><i>Proposed resolution:</i> Add the default value <span style="font-family:Consolas">false</span> to the schema for both @f and @u. Provide an example of the use of @cp on at least one of the six elements on which it is available. No action for the other attributes.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>ELEMENTS IN DR 16-0007 NOT YET CONSIDERED<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The following 9 elements in the DR have yet to be considered:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.10.1.86 serverFormat (@culture, @format) (complex type: CT_ServerFormat)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.10.1.92 tpl (@fld, @hier) (complex type: CT_Tuple)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.13.1 connection (@name, @type) (complex type: CT_Connection)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.13.3 dbPr (@command) (complex type: CT_DbPr)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.13.5 olapPr (@rowDrillCount) (complex type: CT_OlapPr)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.13.12 textPr (@characterSet) (complex type: CT_TextPr) – the attribute @codePage was moved to Part 4, but is still mentioned here and in §18.2.24 webPublishing.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.13.13 webPr (@url) (complex type: CT_WebPr)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.14.1 cell (@r) (complex type: CT_ExternalCell)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">§18.14.15 definedName (@refersTo) (complex type: CT_ExternalDefinedName)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-6029324848808297843gmail_signature"><br>Praying for the victims of the Japan Tohoku earthquake<br><br>Makoto</div>
</div></div>