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: superfluous <interleave/> in the specification rng


Hello all,

I spend this weekend on investigating the Relax NG schema. I want
to generate code from it so that it's easier for implementors to start 
working on ODF software. I discovered that there are very many 
<interleave/> elements that are not needed: <interleave/> is not needed 
for attributes.

I've attached the simplified schema, so tc members can see if they agree 
that this simplified schema specifies the same value space or simply 
test it with some of their documents.

No definitions have received new names, all that was changed was to 
remove unneeded <interleave/> elements or move attributes out of 
<interleave/> elements. In one case, I could replace an

<interleave>
   <zeroOrMore>...</zeroOrMore>
   <zeroOrMore>...</zeroOrMore>
</interleave>

with a

<zeroOrMore>
   <choice>
     ...
     ...
   </choice>
</zeroOrMore>

Cheers,
Jos


-- 
Jos van den Oever
co-chair OpenDocument Format Technical Committee
.....................................................................................
Ministry of the Interior and Kingdom Relations
Center for Standards | Logius
Wilhelmina van Pruisenweg 52 | 2595 AN | Den Haag
Postbus 96810 | 2509 JE | Den Haag
.....................................................................................
M +31(0)6-54715404
jos.vanden.oever@logius.nl
www.logius.nl
www.oasis-open.org/committees/office/
.....................................................................................

Attachment: less-interleave-schema.7z
Description: less-interleave-schema.7z



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