On 12 juil. 07, at 21:48, Andrew Douglas Pitonyak wrote:

I recently saw a post by someone working on it and they had said that it was a very complicated file format.

The XML itself is ugly. It uses a paradigm similar to RTF where style is cumulatively applied to each substring of the "block" without using the inheritance features of "normal" XML. That is for the structure, in a very simplified way.

Let me quote what I wrote on the OOo4trans (OOo for translators) list the other day:

Something that looks like:

<b> style 0 <i> style 1 <i> style 2 </i> style 1 </i> style 0</b>

in ODF (with <b> tags for block level tags and <i> tags for inline tags)

would look like:

<b><s0> style 0 </s0><s1> style 1 </s1><s1><s2> style 2 </s2></
s1><s1> style 1 </s1><s0> style 0 </s0></b>

in OOXML

basically, the style info is repeated in every part where it is,
creating a huge inflation in tags. Because it is not using the basic
functionality of XML tags "inheritance" as in ODF.

But I am not a specialist of either formats, I am just looking at them from the perspective of the tag structure.

Jean-Christophe Helary

Reply via email to