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: text:number inside and outside text:h


Is it normal that text:number is referenced both from *outside* text:h,
as well as from inside?
text-list-item-content and text-numbered-paragraph say it's <text:number>1</text:number><text:h>....</text:h>
(or text:p instead of text:h, of course).
but at the same time, text-h is defined as:

    <element name="text:h">
        <ref name="heading-attrs"/>
        <ref name="paragraph-attrs"/>
            <ref name="text-number"/>
            <ref name="paragraph-content"/>
i.e. text:number can also be *inside* text:h, as the first child element.
Do we really need it both ways?

If not, I don't mind much which way we keep. If I had to choose I would say
the number is somewhat part of the text - in particular for simple processors
like a plain text export - so the text:h way should also be used in text:p,
and the text:number element should be removed from text-list-item-content
and text-numbered-paragraph. But I'm guessing a smaller change to the
existing spec (and probably OOo implementation) would be to simply remove
the text:number child of text:h.

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

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