-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF 1.3
-
Component/s: Document Structure, Part 3 (Schema) [1.2: 1]
-
Labels:None
-
Proposal:
ODF 1.2 part 1, 3.17 Foreign Elements and Attributes
contains this sentence:
"if the OpenDocument schema permits the inclusion of character data for all its ancestors up to the <text> or <text:h> element ancestor element,"
clearly the intent here is character data that ends up as paragraph text, and as usual the special case of the ruby element isn't handled.
<element name="text:ruby"> <optional> <attribute name="text:style-name"> <ref name="styleNameRef"/> </attribute> </optional> <element name="text:ruby-base"> <zeroOrMore> <ref name="paragraph-content-or-hyperlink"/> </zeroOrMore> </element> <element name="text:ruby-text"> <optional> <attribute name="text:style-name"> <ref name="styleNameRef"/> </attribute> </optional> <text/> </element> </element>
<text:ruby> does not allow <text/> directly, so any character data inside <text:ruby-base> is excluded by the language in 3.17.