AW: AW: any limitation to generate-id()

2002-07-30 Thread Kutz Clemens (PEA-FE2/BA-T)

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?


ps:
maybe is unimportant, maybe not, ... but here ist my system:
Win2K SP2
Sun Java SDK 1.4.1



-Ursprüngliche Nachricht-
Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 29. Juli 2002 18:00
An: [EMAIL PROTECTED]
Betreff: Re: AW: any limitation to generate-id()


Kutz Clemens (PEA-FE2/BA-T) wrote:
 hmmm. I indeed use the span-attribute in my appendix to list all
TT-elements
 (TT=technical term). 
 To test this I removed all span-attributes in my stylesheet, but the error
 still exist.
 
 any other idea?
Well, it could be other undiscovered bug, try to simplify your stylesheet in

order to locate it.

-- 
Oleg Tkachenko
Multiconn International, Israel


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

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




Re: AW: AW: any limitation to generate-id()

2002-07-30 Thread Keiron Liddle

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]




Re: AW: any limitation to generate-id()

2002-07-29 Thread Oleg Tkachenko

Kutz Clemens (PEA-FE2/BA-T) wrote:
 hmmm. I indeed use the span-attribute in my appendix to list all TT-elements
 (TT=technical term). 
 To test this I removed all span-attributes in my stylesheet, but the error
 still exist.
 
 any other idea?
Well, it could be other undiscovered bug, try to simplify your stylesheet in 
order to locate it.

-- 
Oleg Tkachenko
Multiconn International, Israel


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