Author Topic: Document Reports  (Read 210 times)

0 Members and 1 Guest are viewing this topic.

Offline Pollux

  • VIP
  • Hero Member
  • *
  • Posts: 138
    • View Profile
Document Reports
« on: May 08, 2022, 09:16:02 »
Moin!
The Ancestris Welcome page shows me Latest Updates.
5/6/22
Document Reports (as a link)
v11/v12 - Adapt Documents reports to match Java evolution
When I click this (and all previous) links, I end up in the Ancestris forums.
There the 'heading' (topic) is defined as a link to itself without further explanation.
It would make sense for me to learn more!
Greetings Pollux
He who cries out for tolerance the loudest, exercises it the least himself!

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 614
    • View Profile
ReĀ : Document Reports
« Reply #1 on: May 08, 2022, 10:40:17 »
I didn't want to enter in technical details.
But, if you want the details, here they are.

In the last version of patch update of Java (8.0.333, 11.0.15, 17.0.3), Oracle has added new parameters in XML processing, mechanism that we use in several reports with XSLT transformations.
Theses parameters have default values for backwards compatibility. https://www.oracle.com/java/technologies/javase/11-0-15-relnotes.html
But one of these parameter (jdk.xml.xpathExprOpLimit) is set to a default value far below the use of Ancestris.
This limit has provoked execution error on several reports (including the GEDCOM validation and compliance tools which use the same mechanism to display the results and use a 189 depth of XPath).
So I have adjusted the code to set the limit to 300 when use new versions of Java.

Zurga


Offline Pollux

  • VIP
  • Hero Member
  • *
  • Posts: 138
    • View Profile
Re: Document Reports
« Reply #2 on: May 09, 2022, 05:39:32 »
Thanks for your reply Zurga!
I wish, for myself and others, that clicking on 'the' link would lead to such a (short but understandable) answer - in the Ancestris forums.

Pollux
He who cries out for tolerance the loudest, exercises it the least himself!