DRs 10-0022 and DR 10-0024
John Haug
johnhaug at exchange.microsoft.com
Fri Oct 14 20:51:41 CEST 2011
There is a minor difference in the structure of the RNG and XSD schemas in the repository -- the spid attribute is defined within AG_Ole in XSD, but was moved out of AG_Ole and into CT_Control and CT_OleObject in RNG (CT_Control and CT_OleObject are the only complex types that reference AG_Ole).
Does anyone have concerns about that and think they should be aligned one way or the other? If not, I'll send Rex the text diff to close the work for DCOR2.
John
-----Original Message-----
From: eb2mmrt at gmail.com [mailto:eb2mmrt at gmail.com] On Behalf Of MURATA Makoto
Sent: Thursday, October 13, 2011 7:21 PM
To: e-SC34-WG4 at ecma-international.org
Subject: Re: DRs 10-0022 and DR 10-0024
Dear colleagues,
Schema modifications required for addressing DR 10-0024 are available at https://www.assembla.com/code/IS29500/subversion/changesets/191.
The schemas pml.xsd and pml.rnc in the branch Part4DCOR2 are already modified.
https://www.assembla.com/code/IS29500/subversion/nodes/branches/Part4DCOR2
But these schema modifications are slightly different from the schema fragments in the log for DR 10-0024. I wrote both, and I think that the schema modifications in the Assembla subversion repository are better and should be adopted. Rex, please prepare the DCOR text using the modifications in the repository. We will discuss about this minor change in the next teleconf.
Regards,
Makoto
2011/6/2 Chris Rae <Chris.Rae at microsoft.com>:
> Hi all - I've done a bit more research into this (10-0024) and one of these does indeed need to be present. This means that we should take Murata-san's RNG changes to represent that. On the second issue (whether this also applies to control elements) I've researched that as well and it turns out it does. So we have a further prose changes to make (and a further RNG representation of the dependency).
>
> DR 10-0024 is at
> http://cid-c8ba0861dc5e4adc.office.live.com/view.aspx/Public%20Documen
> ts/2010/DR-10-0024.docx
>
> I've attached my final version of the necessary prose changes.
>
> Chris
>
> -----Original Message-----
> From: eb2mmrt at gmail.com [mailto:eb2mmrt at gmail.com] On Behalf Of MURATA
> Makoto
> Sent: 06 December 2010 17:22
> To: Chris Rae
> Cc: e-SC34-WG4 at ecma-international.org; MURATA Makoto
> (mmurata at japan.email.ne.jp)
> Subject: Re: DRs 10-0022 and DR 10-0024
>
> First, this issue applies to not only oleObj elements but also control elements.
>
>>Murata-san, if there's a way we can do this better in RNG, >then we should think about incorporating it there.
>
>
> Yes. I propose to change three definitions in transitional pml.rnc as follows:
>
> p_AG_Ole =
> attribute name { xsd:string }?,
>
> ## default value: false
> attribute showAsIcon { xsd:boolean }?,
> r_id?,
> attribute imgW { a_ST_PositiveCoordinate32 }?,
> attribute imgH { a_ST_PositiveCoordinate32 }?
>
> 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 } | attribute spid { a_ST_ShapeID })
>
> p_CT_Control =
> p_AG_Ole,
> element extLst { p_CT_ExtensionList }?,
> (element pic { p_CT_Picture } | attribute spid { a_ST_ShapeID })
>
>
>
> Accordingly, I would like to change three definitions on transitinoal pml.xsd as follows:
>
> <xsd:attributeGroup name="AG_Ole">
> <xsd:attribute name="name" type="xsd:string" use="optional"
> default=""/>
> <xsd:attribute name="showAsIcon" type="xsd:boolean" use="optional"
> default="false"/>
> <xsd:attribute ref="r:id" use="optional"/>
> <xsd:attribute name="imgW" type="a:ST_PositiveCoordinate32"
> use="optional"/>
> <xsd:attribute name="imgH" type="a:ST_PositiveCoordinate32"
> use="optional"/>
> </xsd:attributeGroup>
>
>
> <xsd:complexType name="CT_OleObject">
> <xsd:sequence>
> <xsd:choice minOccurs="1" maxOccurs="1">
> <xsd:element name="embed" type="CT_OleObjectEmbed"/>
> <xsd:element name="link" type="CT_OleObjectLink"/>
> </xsd:choice>
> <xsd:element name="pic" type="CT_Picture" minOccurs="0"
> maxOccurs="1"/>
> </xsd:sequence>
> <xsd:attributeGroup ref="AG_Ole"/>
> <xsd:attribute name="spid" type="a:ST_ShapeID" use="optional"/>
> <xsd:attribute name="progId" type="xsd:string" use="optional"/>
> </xsd:complexType>
>
>
> <xsd:complexType name="CT_Control">
> <xsd:sequence>
> <xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0"
> maxOccurs="1"/>
> <xsd:element name="pic" type="CT_Picture" minOccurs="0"
> maxOccurs="1"/>
> </xsd:sequence>
> <xsd:attributeGroup ref="AG_Ole"/>
> <xsd:attribute name="spid" type="a:ST_ShapeID" use="optional"/>
> </xsd:complexType>
>
> --
> Cheers,
> Makoto<EB2M-MRT at asahi-net.or.jp>
>
>
--
Praying for the victims of the Japan Tohoku earthquake
Makoto
More information about the sc34wg4
mailing list