DR 09-0157 - WML: restriction on ordering of run properties

Chris Rae Chris.Rae at microsoft.com
Tue Apr 27 19:05:18 CEST 2010


Hi Jirka et al - is there room for an option D? I spoke to Zeyad (our WordprocessingML guy) and he proposed grouping the elements and using xsd:all with minOccurs=0. This ensures that the zero or more of the child elements can exist, in any order.

       <xsd:group name="EG_RPrBase">
             <xsd:all minOccurs="0">
                    <xsd:element name="rStyle" type="CT_String" />
                    <xsd:element name="rFonts" type="CT_Fonts" />
                    <xsd:element name="b" type="CT_OnOff" />
                    <!-- ... -->
             </xsd:all>
       </xsd:group>

This change is specific to the schema and will avoid putting schema-style constraints into the prose, and making normative references to the Relax NG schemas.

Chris

-----Original Message-----
From: Jirka Kosek [mailto:jirka at kosek.cz] 
Sent: 07 April 2010 08:48
To: Shawn Villaron
Cc: 'e-SC34-WG4 at ecma-international.org'
Subject: Re: DR 09-0157 - WML: restriction on ordering of run properties

Shawn Villaron wrote:

> I was wondering if you thought you’d be able to provide updated text 
> for this DR response in preparation for the Thursday, April 8^th WG4 
> teleconference?

The change is only in schemas. You can easily see diffed schemas at

https://www.assembla.com/code/IS29500/subversion/changesets/89

and use it in draft COR2 text.

In my opinion there is no need for change in the text of the standard as there is nothing said about ordering of those properties and there is just reference to schemas.

If we need some accompanying rationale for DCOR2, you can use something
like:

"This change allows run properties to appear in any order which is much more convenient for automatic OOXML content producers."

Hear you tomorrow,

					Jirka



--
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka at kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------



More information about the sc34wg4 mailing list