DR 17-0019 — SML: Order of Elements in schemeClr
charlie.clark at clark-consulting.eu
Wed Nov 15 11:07:46 CET 2017
Am .11.2017, 21:53 Uhr, schrieb Francis Cave <francis at franciscave.com>:
> I hope you will agree that the minOccurs='"1" maxOccurs="1" applies to
> schemeClr and not to the elements in EG_ColorTransform. In which case
> the choice of color transform elements can indeed be made repeatedly,
> allowing any combination, including repetitions of the same transform
thanks for your patient explanation. I understand the reuse of elements
via a group and all the XML stuff but we have a situation here that the
schema doesn't cover sufficiently: potential restrictions within the
elements that use the element group that are not handled by the schema.
For a similar situation I refer to the use of the element group in
18.104.22.168 dLbl. This actually uses two nested element groups. But, as both
are sequences the ordering is clear and can be validated.
<xsd:element name="layout" type="CT_Layout" minOccurs="0"
<xsd:element name="tx" type="CT_Tx" minOccurs="0" maxOccurs="1"/>
<xsd:group ref="EG_DLblShared" minOccurs="1" maxOccurs="1"/>
If sequences are used here then why not in colours?
I suggest that this be referred back to Microsoft for clarification.
Clark Consulting & Research
More information about the sc34wg4