OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office] Combine attributes (OFFICE-2241 and OFFICE-2531)


This is good.  Maybe send the draft of the schemas to Murata-san (or to WG 
6)to confirm that this addresses the reported issue?

-Rob

Michael.Brauer@Sun.COM wrote on 04/20/2010 10:30:48 AM:

> Hi,
> 
> during the public review we received comments that the ODF schemas use 
> the RNG combine attribute in a way this was not intended by the authors 
> of RNG. For instance:
> 
> http://tools.oasis-open.org/issues/browse/OFFICE-2241
> http://tools.oasis-open.org/issues/browse/OFFICE-2259
> 
> With the comment that belongs to OFFICE-2259, Murata Makoto contributed 
> an XSLT style sheet that merges the definitions that have a combine 
> attribute into a single definition, and adds a <choice> or <interleave> 
> element that corresponds to the value of the combine attribute.
> 
> I have slightly enhanced this style sheet (it does now add the <choice> 
> and <interleave> elements only if there are multiple definitions for a 
> single name) and have applied it to the manifest and main schema. I 
> would like to propose that we switch to these schema for ODF 1.2.
> 
> The style sheet itself is not very complex, so I'm very confident that 
> the resulting schemas are equivalent to the original schemas. I have 
> further verified that the schemas are valid RNG schemas (using the 
> odftoolkit.org ODF validator implementation). As an additional check I 
> have verified that the modified schema would generate the same text for 
> part 1 and 3 as the original schemas.
> 
> The modified RNG schemas and the modified XSLT style sheet can be found 
> in the document repository. See below.
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]