https://bz.apache.org/bugzilla/show_bug.cgi?id=60293
Bug ID: 60293
Summary: Handling illegal "Odd" footer in XWPF
Product: POI
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
On TIKA-2125, Seva Alekseyev provided a document that contains "odd" as the
footer type.
According to ECMA[1] (labeled-page 727, pdf-page 737), there can be three types
of footers: first, odd and even. However, the way to encode those is "first"
"default" "even", and the xsd makes this clear.
<w:sectPr> … <w:footerReference r:id="rId6" w:type="first" />
<w:footerReference r:id="rId7" w:type="default" /> <w:footerReference
r:id="rId10" w:type="even" /> … </w:sectPr>
The
So the file submitted on TIKA-2125 is out of compliance.
Do we want to add special handling to convert "odd" to "default"?
[1]
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-376,%20Fourth%20Edition,%20Part%201%20-%20Fundamentals%20And%20Markup%20Language%20Reference.zip
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]