Project

Profile

Help

Bug #3348

closed

Regression in Saxon 9.7 XSLT when normalizing namespaces on large XML

Added by Nick Nunes almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Performance
Sprint/Milestone:
-
Start date:
2017-07-11
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, 9.8
Fix Committed on Branch:
9.7, 9.8
Fixed in Maintenance Release:
Platforms:

Description

I have a stylesheet designed to put an XML file in namespace normal form and to standardize some prefix bindings. When using this stylesheet on a 15mb XML file with Saxon 9.7 it appears to go into an infinite loop. Running the same transformation in 9.5 and 9.6 have execution times of approximately 13s, with 9.7 it's still running after 5m. Turning on tracing in Saxon 9.7 causes execution to finish in about 1m. I did not notice any problems using this stylesheet with 9.7 when input file sizes were smaller (up to 6mb).

Unfortunately, I can't offer much more information to diagnose with and am unable to distill this down to a toy case that I can share publicly. If this isn't a known problem is there a way I can share the relevant xsl and xml privately?


Files

openfilesandports.txt (2.87 KB) openfilesandports.txt Nick Nunes, 2017-07-20 23:00

Please register to edit this issue

Also available in: Atom PDF