Hi Kutz,

First thing I would suggest is to generate the fo file. Then search the
file to see if the id is repeated twice (or more).
Then use the fo file as the input to fop. Note where the error occurs,
id, page.
Then delete everything (keeping valid xml) after that id.
If possible delete everything on pages before the page where the problem
occurs so that the page starts in the same position.
You should now have a minimal example if the problem still occurs you
could post it to the list or figure out what is causing the problem.


On Tue, 2002-07-30 at 10:15, Kutz Clemens (PEA-FE2/BA-T) wrote:
> I tried the whole day to locate it ... I removed some other templates (not
> in any way related to TT) and suddenly the error disappeared.
> But nevertheless the removed templates are NOT responsible for the error.
> Because at a second time I removed other templates and kept these one I
> removed first and the error also disappeared.
> It's really frustrating. I tried some other templates, but I start to
> believe that it's unimportant WHAT template I remove, but not HOW MUCH
> templates I remove.
> 
> I also tried to modify my stylesheet (btw: this following is the only
> template with uses id="{generate-id()}", all the others use a unique
> attribute id="@ID"):
> 
> <xsl:template match="TT">
>     <xsl:if test="not(preceding::*[generate-id(.)=generate-id(current())])
> and
>                   not(ancestor::*[generate-id(.)=generate-id(current())])">
>         <fo:block id="{generate-id(.)}" xsl:use-attribute-sets="tt">
>               <xsl:apply-templates />
>         </fo:block>
>     </xsl:if>
> </xsl:template>
> 
> But this doesn't change anything.
> 
> At the next step I tried to use the old fop-0.20.3, but this also doesn't
> change anything.
> To do a simple verification of my stylesheet, i also removed the id=".."
> attribute and, as assumed, everything else worked fine.
> 
> Any other ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to