Re: [xsl] Stylesheet works in oXygen fails in Python with Saxonc

Subject: Re: [xsl] Stylesheet works in oXygen fails in Python with Saxonc
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Jan 2025 23:14:38 -0000
>I was just following a sample file I found.
>

That's the way people write code these days. Copy and paste, no need to
understand it. Either that, or ask ChatGPT to do it for them. I guess ChatGPT
looks at more examples and is therefore more likely to get it right. Who
knows, it might even read the documentation.

I guess that for people like us developing APIs the important lesson is to try
and make the method names as explicit as we possibly can.
"set_initial_match_selection" was, I suppose, an attempt to do that. But it's
only explicit if you know what the "initial match selection" is, and I suppose
most people don't.

It's hard to see how to avoid such problems.

Michael Kay
Saxonica

Current Thread