DR 09-0244: PML, OLE objects: CT_OleObject is defined incorrectly
Shawn Villaron
shawnv at microsoft.com
Thu Jun 11 17:23:47 CEST 2009
Here is the updated text with the correct Relax NG changes. I believe we decided that we'd move this to LAST CALL, AMD:
DR 09-0244- PML, OLE objects: CT_OleObject is defined incorrectly
Part 1, Schema Change Required
<xsd:complexType name="CT_OleObject">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="embed" type="CT_OleObjectEmbed"/>
<xsd:element name="link" type="CT_OleObjectLink"/>
<xsd:element name="pic" type="CT_Picture"/>
</xsd:choice>
<xsd:element name="pic" type="CT_Picture" minOccurs="1" maxOccurs="1"/>
<xsd:attributeGroup ref="AG_Ole"/>
<xsd:attribute name="progId" type="xsd:string" use="optional"/>
</xsd:complexType>
Part 1, Relax NG Change Required
p_CT_OleObject =
p_AG_Ole,
attribute progId { xsd:string }?,
(element embed { p_CT_OleObjectEmbed }
| element link { p_CT_OleObjectLink }
| element pic { p_CT_Picture }),
element pic { p_CT_Picture }
Part 4, Schema Change Required
<xsd:complexType name="CT_OleObject">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="embed" type="CT_OleObjectEmbed"/>
<xsd:element name="link" type="CT_OleObjectLink"/>
<xsd:element name="pic" type="CT_Picture"/>
</xsd:choice>
<xsd:element name="pic" type="CT_Picture" minOccurs="0" maxOccurs="1"/>
<xsd:attributeGroup ref="AG_Ole"/>
<xsd:attribute name="progId" type="xsd:string" use="optional"/>
</xsd:complexType>
Part 4, Relax NG Change Required
p_CT_OleObject =
p_AG_Ole,
attribute progId { xsd:string }?,
(element embed { p_CT_OleObjectEmbed }
| element link { p_CT_OleObjectLink }
| element pic { p_CT_Picture }),
element pic { p_CT_Picture }?
From: Shawn Villaron
Sent: Sunday, June 07, 2009 7:16 PM
To: SC 34 WG4
Subject: DR 09-0244: PML, OLE objects: CT_OleObject is defined incorrectly
Here is my proposed response for this defect report:
DR 09-0244- PML, OLE objects: CT_OleObject is defined incorrectly
Part 1, Schema Change Required
<xsd:complexType name="CT_OleObject">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="embed" type="CT_OleObjectEmbed"/>
<xsd:element name="link" type="CT_OleObjectLink"/>
<xsd:element name="pic" type="CT_Picture"/>
</xsd:choice>
<xsd:element name="pic" type="CT_Picture" minOccurs="1" maxOccurs="1"/>
<xsd:attributeGroup ref="AG_Ole"/>
<xsd:attribute name="progId" type="xsd:string" use="optional"/>
</xsd:complexType>
Part 1, Relax NG Change Required
p_CT_OleObject =
p_AG_Ole,
attribute progId { xsd:string }?,
element pic { p_CT_Picture },
(element embed { p_CT_OleObjectEmbed }
| element link { p_CT_OleObjectLink }
| element pic { p_CT_Picture })
Part 4, Schema Change Required
<xsd:complexType name="CT_OleObject">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="embed" type="CT_OleObjectEmbed"/>
<xsd:element name="link" type="CT_OleObjectLink"/>
<xsd:element name="pic" type="CT_Picture"/>
</xsd:choice>
<xsd:element name="pic" type="CT_Picture" minOccurs="0" maxOccurs="1"/>
<xsd:attributeGroup ref="AG_Ole"/>
<xsd:attribute name="progId" type="xsd:string" use="optional"/>
</xsd:complexType>
Part 4, Relax NG Change Required
p_CT_OleObject =
p_AG_Ole,
attribute progId { xsd:string }?,
element pic { p_CT_Picture },
(element embed { p_CT_OleObjectEmbed }
| element link { p_CT_OleObjectLink }
| element pic { p_CT_Picture })
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20090611/f9e955ff/attachment.htm>
More information about the sc34wg4
mailing list