Issue 114107 - [xmloff] ODF: invalid style:text-combine-start-char attribute
Summary: [xmloff] ODF: invalid style:text-combine-start-char attribute
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: DEV300m86
Hardware: All All
: P2 Trivial (vote)
Target Milestone: 3.4.1
Assignee: michael.ruess
QA Contact: issues@xml
URL:
Keywords: odf_validation
Depends on:
Blocks:
 
Reported: 2010-08-25 17:26 UTC by mst.ooo
Modified: 2017-05-20 09:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mst.ooo 2010-08-25 17:26:47 UTC
upload:///Table1_fixed.odt/content.xml[2,3830]:Error:attribute
"style:text-combine-start-char" has a bad value: the length of the value is 0,
but the required length is 1.
upload:///Table1_fixed.odt/content.xml[2,5516]:Error:attribute
"style:text-combine-start-char" has a bad value: the length of the value is 0,
but the required length is 1.
upload:///Table1_fixed.odt/content.xml[2,7446]:Error:attribute
"style:text-combine-start-char" has a bad value: the length of the value is 0,
but the required length is 1.
upload:///Table1_fixed.odt/content.xml[2,9142]:Error:attribute
"style:text-combine-start-char" has a bad value: the length of the value is 0,
but the required length is 1.
upload:///Table1_fixed.odt/content.xml[2,10969]:Error:attribute
"style:text-combine-start-char" has a bad value: the length of the value is 0,
but the required length is 1.


from the ODF 1.2 cd 05 spec:
<quote>
The style:text-combine-start-char attribute specifies the start character that
is displayed before a portion of text whose style:text-combine attribute has a
value of lines.
The style:text-combine-start-char attribute is usable with the following
element: <style:text-properties> 16.27.28.
The style:text-combine-start-char attribute has the data type character 18.3.6.
</quote>


hmm... what is this good for?
maybe it's unnecessary to write it?
Comment 1 mst.ooo 2010-08-25 20:54:15 UTC
the obvious thing (removing the text-combine-start-char and
text-combine-end-char attibutes in TextRawReportTarget.java) does not seem to
fix the problem.
Comment 2 mst.ooo 2010-08-27 11:58:42 UTC
target 3.3
Comment 3 ocke.janssen 2010-08-30 08:31:50 UTC
Change target.
Comment 4 Oliver-Rainer Wittmann 2010-09-29 10:42:19 UTC
adding keyword
Comment 5 mst.ooo 2010-11-05 12:16:19 UTC
apparently this actually happens in xmloff, and the SRB just loads and stores
the invalid attribute.
Comment 6 mst.ooo 2010-12-17 10:26:48 UTC
is now exported only if it is a single character.

fixed in CWS sw34bf03 (2 commits due to stupid copy paste error)
http://hg.services.openoffice.org/hg/cws/sw34bf03/rev/2f41782c83ea
http://hg.services.openoffice.org/hg/cws/sw34bf03/rev/a175eb8a57d8
Comment 7 mst.ooo 2011-02-14 14:26:14 UTC
please verify
Comment 8 michael.ruess 2011-02-15 12:58:44 UTC
Verified in CWS sw34bf03, two-line-writing does not give a validation error anymore.