On 10/13/08 20:38, robert_weir@us.ibm.com wrote:
> I agree that this would be useful to have. I wonder if we could do
> something like what we have in Appendix D 'Core Feature Sets' ? In other
Sounds like a good idea. This information would be informative. For this
reason, I would prefer a solution that keeps the information separate
from the normative text.
> words, list all of the section/subsection numbers along with what version
> ODF introduced or substantially changed that feature.
Some time ago I have developed an XSLT style sheet that lists the
elements, attributes and attribute values of an ODF schema in a
spreadsheet[1].
One could apply this style sheet to the ODF 1.1 schema and the ODF 1.2
schema. The result would be one sheet that summarized the elements and
attributes of ODF 1.1, and another one that summarizes those of ODF 1.2.
I'm not a spreadsheet expert, but believe it should be possible to
compare these two so that one gets a table which for each element and
attributes states whether the element or attribute is new, or whether
its value changed. Since the table representation of spreadsheet and
text document does not differ, one could simply copy the spreadsheet
data into the ODF specification itself as an appendix.
Well, it should also be possible to do the comparison by XSLT itself,
but I don't have something for this at the moment.
One does not get all changes we made to ODF 1.2 this way, but I believe
most of them. In any case, using this as a start seems to be much easier
than collecting the information manually.
>
> The assumption is that new features are introduced into new subsections.
> This may be a bad assumption.
Thanks to the changes that Patrick made, this assumption is actually
correct. Each element is described in a subsection of its own, and the
same applies to attributes. With the generation of the element and
attribute lists I have further introduces a simple pattern for reference
marks. This makes it easy to add reference to the subsection where an
element or attribute is defined.
Michael
>
> -Rob
>
> "Dennis E. Hamilton"