[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Email issues - If no objection by Monday, 4 June 2018, proposals are approved.
hi Patrick, On 31/05/18 22:41, Patrick Durusau wrote:
Office-3950 - 3.17 Foreign Elements and Attributes: failure to handle the special case of the ruby element.https://issues.oasis-open.org/browse/OFFICE-3950Present: "OpenDocument schema permits the inclusion of character data for all its ancestors up to the<text:p> or <text:h> element ancestor element, ...."Proposed: "OpenDocument schema permits the inclusion of character data for all its ancestors up to the <text:p> or <text:h> element ancestor, *or a <text:ruby-base> ancestor element,*Proposed: Plus add <text:ruby-base> to root elements in schema: <rng:define name="office-document"> <rng:element name="office:document"> <rng:ref name="office-document-attrs"/> <rng:ref name="office-document-common-attrs"/> <rng:ref name="office-meta"/> <rng:ref name="office-settings"/> <rng:ref name="office-scripts"/> <rng:ref name="office-font-face-decls"/> <rng:ref name="office-styles"/> <rng:ref name="office-automatic-styles"/> <rng:ref name="office-master-styles"/> <rng:ref name="office-body"/> </rng:element> </rng:define> to: <rng:define name="office-document"> <rng:element name="office:document"> <rng:ref name="office-document-attrs"/> <rng:ref name="office-document-common-attrs"/> <rng:ref name="office-meta"/> <rng:ref name="office-settings"/> <rng:ref name="office-scripts"/> <rng:ref name="office-font-face-decls"/> <rng:ref name="office-styles"/> <rng:ref name="office-automatic-styles"/> <rng:ref name="office-master-styles"/> <rng:ref name="office-body"/> *<rng:ref name="text:ruby-base"/>* </rng:element> </rng:define> Yes?
i don't understand what problem that would solve; the ruby element exists only as child of <text:ruby> which only exists inside paragraph elements.
the only problem with the current text is that it technically excludes <text:ruby-base> because its parent <text:ruby> does not allow immediate character content children.
if we know we're inside <text:ruby-base>, this implies that we're inside one of the paragraph elements as well, hence my proposal.
-- Michael Stahl Senior Software-Entwickler LibreOffice ––– CIB software GmbH Geschäftsstelle Hamburg Flachsland 10 22083 Hamburg ––– T +49 (40) / 28 48 42 -296 F +49 (40) / 28 48 42 -100 Michael.Stahl@cib.de www.cib.de ––– Sitz: München Registergericht München, HRB 123286 Geschäftsführer: Dipl.-Ing. Ulrich Brandner
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]