[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: QA plugin and "Internal Saxon error: local variabl

Subject: Re: QA plugin and "Internal Saxon error: local variable encountered whose binding has been deleted" error
From: "dvint dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2023 21:47:05 -0000
Re:  QA plugin and "Internal Saxon error: local variabl
Thanks, I had found the issues listB  but I didn't see a way to post a new
issue.I'm working with oxygen, so if that isn't a current version I'm kind of
stuck.I think I have a workaround, so I can make progress.Sent from my
Verizon, Samsung Galaxy smartphone
-------- Original message --------From: "Michael Kay mike@xxxxxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: 4/5/23  2:18 PM  (GMT-08:00)
To: xsl-list <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re:  QA plugin
and "Internal Saxon error: local variable
 	encountered whose binding has been deleted" error The message is a symptom
rather than a cause. It's something that happens when an optimization rewrite
leaves the expression tree in an invalid state. Over the years there have been
a number of completely unrelated bugs that manifest themselves in this way.
It's one of those annoying errors -- rather like a NullPointerException --
that tells you what went wrong, but says nothing about why, and that can
happen for any number of reasons.If you search the Saxon issues list at
https://saxonica.plan.io/projects/saxon/issuesfor "Internal Saxon error", it
gives about 20 bugs with this error message: all of them are listed as
resolved/closed, spanning a period of about 15 years. The most recent one I
found related to Saxon 9.8, and it's certainly true that we don't see this
problem very often these days, but optimization can take the product down
rarely-trodden paths so it can take years for such bugs to come out of the
woodwork.If the problem occurs on a release that is currently supported, then
please report it, preferably on the Saxon issue tracker, with a repro that
allows us to reproduce the problem and discover what went wrong.Don't waste
too much time trying to see if your particular bug matches one of those on the
issue tracker. It's a characteristic of optimizer bugs that the symptoms are
often only very indirectly related to the user-written source code.The
workaround often involves disabling optimizations, which you can do
selectively with the -opt flag on the command line (or an equivalent
configuration option in the Java API).Michael KaySaxonica> On 5 Apr 2023, at
21:51, dvint@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:> > I'm
trying to run the QA plugin with oXygen 25.1, and I believe Saxon EE v11.4 or
Saxon 6.> > When I Google the message "Internal Saxon error: local variable
encountered whose binding has been deleted" I find various reports of this
problem around 2017 with indications of a a known issue, but I'm not seeing
any fixes for the issue.> > An oXygen article/report indicated to switch to
Relax NG validation and not sure if that applies.> > Seems like it was fixed
as I didn't find anything recent on this issue. Any idea on how I can work
around this?> > ..dan> >

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.