Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Nokogiri XSLT
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Feargal Hogan  
View profile  
 More options Mar 7 2011, 8:49 am
From: Feargal Hogan <feargal.ho...@gmail.com>
Date: Mon, 7 Mar 2011 05:49:21 -0800 (PST)
Local: Mon, Mar 7 2011 8:49 am
Subject: Nokogiri XSLT
We have an online XSLT process using Nokogiri (libxslt) on Ruby-on-
Rails and have a problem with one of our XSLT docs. It's a very
recursive process turning 'flat' XML into neatly nested XML. The
document runs fine offline in Oxygen under Saxon 6.x, 9.x and XSLTProc
(libxslt), and fine under Saxon 9.x in the online environment.

But once we introduce Nokogiri into the mix, it falls over with:
runtime error: file /Users/<pathtotrunk>/data/xsl/v1/TextSections.xsl
line 324 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 (currently set to
3000).

We have tried increasing xsltMaxDepth without success

Has anyone any suggestions on stuff to check/test?

TIA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Patterson  
View profile  
 More options Mar 7 2011, 11:45 am
From: Aaron Patterson <aaron.patter...@gmail.com>
Date: Mon, 7 Mar 2011 08:45:51 -0800
Local: Mon, Mar 7 2011 11:45 am
Subject: Re: [nokogiri-talk] Nokogiri XSLT

Do you have to pass any special options to xsltproc to get it to work?
 Theoretically that should be the same as nokogiri (since both are
just using libxml2 / libxslt).

Can you possibly provide is with a test script and xml / xslt docs?

--
Aaron Patterson
http://tenderlovemaking.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »