Greetings fellow XyUsers,
I am having a bit of trouble with frills processing and wondered if anyone might spot what the problem might be…
I’m using XPP 9.1.1.0 and XyPerl to do the frills processing.
I have chopped my XyPerl down so that I am
- opening the main stream (successfully)
- opening the first block (successfully)
- then start to loop through the lines in that first main block
From some messages that I am able to output to STDERR I can see that well before reaching the last line in the block I am getting a return from the line open that is showing !opened as being in error.
At first this was at about the 10th line down the page.
After adding a little bit more text to my STDERR messages I am now encountering the problem before the 10th line - so suspect that somehow I hitting a limit.
In the XyMacros book, at page 4-61, I read this information:
Use caution when writing a frills processing loop that’s checking
each main text line to see if you want to do something on it.
Composition is just going to process all of this on a single line until
something in the macros causes a new line to occur. If nothing
causes a new line to occur in a reasonableamount of processing,
then the line is going to fill up with over 65535 bytes and cause the
fatal error Macro definitions are probably too long and/or
recursive.
However, I’m struggling a bit to understand what it means - and what I might need to do to avoid hitting such a limit.
I have experimented with my XyPerl program and am hitting what seems to be the same sort of limitation when processing the “foot” stream.
Does anyone have an idea what might be happening?
thanks,
Paul