Fwd: DR-16-0016, "SML: Named Styles". New DR
MURATA Makoto
eb2m-mrt at asahi-net.or.jp
Tue Aug 9 11:04:17 CEST 2016
---------- Forwarded message ----------
From: Charlie Clark <charlie.clark at clark-consulting.eu>
Date: 2016-08-09 17:58 GMT+09:00
Subject: Re: DR-16-0016, "SML: Named Styles". New DR
To: MURATA Makoto <eb2m-mrt at asahi-net.or.jp>
Cc: "francis at franciscave.com" <francis at franciscave.com>, Rex Jaeschke <
Rex at rexjaeschke.com>
Am .08.2016, 10:33 Uhr, schrieb MURATA Makoto <eb2m-mrt at asahi-net.or.jp>:
Charlie,
>
> Hello. I am the convenor of WG4. We have been always very
> grateful to your significant contributions to WG4. Your input helps
> to ensure that OOXML documents are accessible by a variety
> of application programs.
>
> Here is the link to DR 16-0007.
>
> https://onedrive.live.com/view.aspx?cid=c8ba0861dc5e4adc&pag
> e=view&resid=c8ba0861dc5e4adc!820&parId=c8ba0861dc5e4adc!813&app=Word
>
Dear Makoto,
thank you very much. I don't think this the same issue. The problem with DR
16-006 is how to handle what are essentially denormalised relations such as
between CellStyle and CellStyleXfs such as the following:
<cellStyles >
<cellStyle name="20% - Accent1" xfId="3" builtinId="30"/>
<cellStyle name="Heading 1" xfId="2" builtinId="16"/>
<cellStyle name="Normal" xfId="0" builtinId="0"/>
<cellStyle name="Title" xfId="1" builtinId="15"/>
</cellStyles>
<cellStyleXfs>
<xf numFmtId="0" fontId="0" fillId="0" borderId="0"/>
<xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyNumberFormat="0"
applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/>
</cellStyleXfs>
As things stand I thing this would be valid XML but likely to cause
problems for applications.
There should be a constraint such that len(//cellsStyle/*) =
len(//cellStyleXfs/*) I'm not so hot on XSL but maybe there should be
relevant ref attributes in the schema?
<xsd:complexType name="CT_CellStyle" ref="xf">
<xsd:sequence>
<xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0"
maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="s:ST_Xstring" use="optional"/>
<xsd:attribute name="xfId" type="ST_CellStyleXfId" use="required"/>
<xsd:attribute name="builtinId" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="iLevel" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
<xsd:attribute name="customBuiltin" type="xsd:boolean" use="optional"/>
</xsd:complexType>
Unfortunately, a constraint the other way is not possible because the xf
type is used in different contexts with different elements (I've submitted
a DR in the past along these lines): a base type would help here.
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
--
Praying for the victims of the Japan Tohoku earthquake
Makoto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20160809/eba2eb18/attachment.html>
More information about the sc34wg4
mailing list