Infinite recursion problem with quotes and apostrophes in field text
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Run the mysqldump-x-restore stylesheet against a mysql dump file with
apostrophes in the data between tags.
2.
3.
What is the expected output? What do you see instead?
I get a warning from xsltproc that there is a possible infinite recursion, even
if I only have 1 row of data with a few hundred characters of text.
This is the error I get:
runtime error: file test.xslt line 385 element param
xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number
of nested template calls and variables/params (curre
ntly set to 3000).
Templates:
#0 name escape-quotes
#1 name escape-quotes
#2 name escape-quotes
#3 name escape-quotes
#4 name escape-quotes
#5 name escape-quotes
#6 name escape-quotes
#7 name escape-quotes
#8 name escape-quotes
#9 name escape-quotes
#10 name escape-quotes
#11 name escape-quotes
#12 name escape-quotes
#13 name escape-quotes
#14 name escape-quotes
Variables:
#0
value
#1
value
#2
value
#3
value
#4
value
#5
value
#6
value
#7
value
#8
value
#9
value
#10
value
#11
value
#12
value
#13
value
#14
value
no result for gives_infinite_recursion.xml
Original issue reported on code.google.com by ul...@workbuster.se
on 8 Mar 2012 at 4:04
Attachments:
GoogleCodeExporter commented
I can't even use \'\ to escape them, since the stylesheet still interprets them
as apostrophes.
Original comment by ul...@workbuster.se
on 8 Mar 2012 at 4:50