Bug 35577 - while running, system reports: The id "header" already exists in this document
Summary: while running, system reports: The id "header" already exists in this document
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.5
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 11:54 UTC by maco
Modified: 2012-04-01 06:53 UTC (History)
0 users



Attachments
the property is is defined on the table header (43.33 KB, text/xml)
2005-07-01 11:57 UTC, maco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maco 2005-07-01 11:54:49 UTC
In FO, there is a property id defined on the row which is table header.If the 
page fis into a page, then all are OK. But if the content of the table is more 
than one page, then system throws exception:

org.apache.fop.apps.FOPException: null:32:34 The id "header" already exists in 
this document
	at org.apache.fop.datatypes.IDReferences.createID
(IDReferences.java:119)
	at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:277)
	at org.apache.fop.fo.flow.AbstractTableBody.layout
(AbstractTableBody.java:236)
	at org.apache.fop.fo.flow.Table.layout(Table.java:282)
	at org.apache.fop.fo.flow.Block.layout(Block.java:257)
	at org.apache.fop.fo.flow.Block.layout(Block.java:257)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
	at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
	at org.apache.fop.fo.pagination.PageSequence.makePage
(PageSequence.java:400)
	at org.apache.fop.fo.pagination.PageSequence.format
(PageSequence.java:338)
	at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
(Unknown Source)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.fop.apps.Driver.render(Driver.java:498)
	at org.apache.fop.apps.Driver.run(Driver.java:565)
	at embedding.ExampleFO2PDF.convertFO2PDF(ExampleFO2PDF.java:101)
	at embedding.ExampleFO2PDF.main(ExampleFO2PDF.java:136)
Comment 1 maco 2005-07-01 11:57:03 UTC
Created attachment 15574 [details]
the property is is defined on the table header
Comment 2 Pascal Sancho 2007-11-20 02:15:57 UTC
Fixed in FOP 0.94 and probably earlier versions
Comment 3 Glenn Adams 2012-04-01 06:53:51 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed