Bug 24164 - xml error on fo:inline tags
Summary: xml error on fo:inline tags
Status: RESOLVED WONTFIX
Alias: None
Product: POI
Classification: Unclassified
Component: HDF (show other bugs)
Version: 3.0-dev
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 21:07 UTC by randysch
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description randysch 2003-10-27 21:07:56 UTC
Got this from the scratchpad area, not sure if you consider that 2.0-pre3 or
something else. When using the org.apache.poi.hdf.extractor.WordDocument class
on the Word document at
http://www.google.com/url?sa=U&start=1&q=http://ada-studio.narod.ru/Liz_Soglashenie.doc&e=7627
I get lots of errors like this when I try to view the resulting xml:

XML Parsing Error: mismatched tag. Expected: </fo:inline>.
Location: file:///tmp/liz.xml
Line Number 40, Column 193:><fo:inline font-family="Arial" font-size="10pt"
color="black" ><fo:inline font-family="Arial" font-size="10pt" color="black"
><fo:inline font-family="Arial" font-size="10pt" color="black" ></fo:block>

Indeed, a closing </fo:inline> is missing. Note the two fo:inline's with no
/fo:inline This document is in Cyrillic (Cp1251, I think), maybe that's part of
the problem? That same error actually occurs several times throughout the xml.
Comment 1 Ryan Ackley 2003-10-28 05:24:37 UTC
We are in the middle of a complete re-write of the Word stuff. I don't plan on 
carrying over the xsl:fo. Instead I was planning on replacing it with some 
kind of generic xml that could be transformed to fo. If its important to you, 
look at the code you have and take a crack at it. Sorry.