Issue 34286 - XHTML export filter: Export of Meeting document template results in StackOverflow
Summary: XHTML export filter: Export of Meeting document template results in StackOver...
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: 680m47
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: jogi
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 09:47 UTC by svante.schubert
Modified: 2005-02-09 20:01 UTC (History)
1 user (show)

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


Attachments
Meeting document as flat xml (78.62 KB, text/xml)
2004-09-17 09:48 UTC, svante.schubert
no flags Details
Transformation log (11.61 KB, text/txt)
2004-09-17 09:49 UTC, svante.schubert
no flags Details
Export of SRC680m78 - VALID, OK (28.36 KB, text/xml)
2005-02-09 20:01 UTC, jogi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description svante.schubert 2004-09-17 09:47:20 UTC
The export of our Writer meeting document template to XHTML results in a
StackOverflow.
Comment 1 svante.schubert 2004-09-17 09:48:39 UTC
Created attachment 17766 [details]
Meeting document as flat xml
Comment 2 svante.schubert 2004-09-17 09:49:11 UTC
Created attachment 17767 [details]
Transformation log
Comment 3 svante.schubert 2004-09-28 14:30:11 UTC
Reason:
There is a infinite loop in the template  <xsl:template
name="create-td-elements"> of table_of_content.xsl.

Implementation Problem:
This is a result of the certain sceanario, where the required style property:
/office:document/office:automatic-styles/style:style/style:properties/style:tab-stops
is empty and instead is inherited from it's parent style.

Solution:
Currently only style:property attributes are being processed from hierarchical
to absolute view, elements have to be added.

The usage of the xsl:key element should be increased to it's upper limit.
Comment 4 svante.schubert 2005-01-18 13:16:58 UTC
Change target milestone to OOo 2.0.1
Comment 5 svante.schubert 2005-01-18 16:21:28 UTC
Changed to OOo 2.0
Comment 6 svante.schubert 2005-01-21 10:29:33 UTC
Same problem occurs for XForms W3C Errata from DVO.
Content table TAB work around was stuck in loop. 
Fixed this.

Further:
- Creation of paragraphs of draw:images will be neglected for xhtml1.0 validation.
- Content table links work now for stand-alone documents
- Content table links work even when heading contain nested elements (e.g.
errata elements as in the example of DVO)
- Table won't use flow CSS any longer, as in the meeting protocol document it
results into bizarre outlook.

2beDone: 
- W3C Errata document will be attached to issue as soon it is published.
- Content table headings are ambigous, when heading text appears twice or more
in one document
- Chapter / Heading numbering does not work currect for single documents (only
with not included Java extension, used for the developer guide it works for
now). This going to be a follow up issue.
Comment 7 svante.schubert 2005-01-26 12:16:54 UTC
reopen for reasign
Comment 8 svante.schubert 2005-01-26 12:17:15 UTC
Reasign to QA
Comment 9 svante.schubert 2005-01-26 12:18:14 UTC
Reasign to QA
Comment 10 svante.schubert 2005-01-26 12:18:37 UTC
Reasign to QA
Comment 11 svante.schubert 2005-01-26 12:19:40 UTC
ready to be tested
Comment 12 svante.schubert 2005-01-26 12:20:54 UTC
For me under Linux there where no colors at all in the Biorythm cells.
Comment 13 svante.schubert 2005-01-26 12:38:40 UTC
reopen for reasign
Comment 14 svante.schubert 2005-01-26 12:46:24 UTC
The comment about Biorythm cells belongs to the other stack overlfow issues, I
mixed them up, testing my new HTML issuezilla scripts.
Comment 15 svante.schubert 2005-01-26 12:48:01 UTC
fixed for qa
Comment 16 jogi 2005-01-27 11:31:59 UTC
the original template exported fine and the output is valid.
Comment 17 jogi 2005-02-09 20:01:11 UTC
Created attachment 22397 [details]
Export of SRC680m78 - VALID, OK
Comment 18 jogi 2005-02-09 20:01:47 UTC
OK in SRC680m78