- Login: johnSaxonica
- Email: email@example.com
- Registered on: 2013-07-04
- Last connection: 2023-03-22
It looks as if, at least in Firefox and Chrome, the implict `sup` styling is being overridden by `saxon-base.css:37`, specifically setting `vertical-align:baseline` rather that `super` and `font:inherit` overriding `font-size:small`. Bug #4585 (In Progress): Documentation: superscript not renderedAt http://www.saxonica.com/saxon-js/documentation/index.html#!conformance/xslt30, under xsl:number, we see "Saxon-JS loses precision when formatting numbers greater than 253". It presumably should be 2^53.
Could be an interesting problem to make it asynchronous…..
Sent from my iPad
> On 12 Mar 2023, at 18:21, Saxonica Developer Community <firstname.lastname@example.org> wrote:
> Bug #5916: Using xsl:merge with xsl:merge-source for-each-source="'input1.xml'" select="some-xpath" gives error XPDY0002 "Focus for / is absent"I have tried to run an XSLT 3 example using XSLT 3's new xsl:merge through SaxonJS 2.5's `xslt3` command line tool under Windows 11 with Node 16, a simple example using e.g.
On 10/03/2023 16:28, Saxonica Developer Community wrote: Help: XSLT function not compiling with SaxonC-HE 12.0 (Python)
As soon as I paste the the definition of the function my:scan into the stylesheet, it does not compile ("Errors were reported during stylesheet compilation"). Without it, everything works fine (both compilation and transformation). Wha...
Yes - this looks like an oversight - the original 'syntax check' for `xsl:copy-of` incorrectly declared the possibility of a sequence constructor child (as `xsl:copy` of course is permitted, and I assume I copy-and-pasted). Interestingl... Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionDue to some mental mistake I wrote some XSLT code using e.g. `<xsl:copy-of select="."><xsl:apply-templates/></xsl:copy-of>` and SaxonJS let met get away with it. When moving my code to SaxonJ, I found that it doesn't allow it and gives a...
When originally writing the first `xslt3` command line processor I came across this quirk of Powershell requiring quoting (I was the only member of the team to do all development work on a Windows machine) and didn't find any easy worka... General: RE: Cross platform Powershell and xslt3 command line arguments/optionsI have stumbled into some oddity using SaxonJS's `xslt3` command line tool with the cross platform Powershell (aka Powershell Core): it seems I have to wrap any SaxonJS/xslt3 option in single or double quotes to get `xslt3` to parse it c...
Bug #5464 (Closed): unparsed-text() with an empty file throws a TypeErrorRunning in the browser (on an older version of SaxonJS2, but I suspect not) when reading in (via an `unparsed-text()` call) an empty file, there is a TypeError thrown in `Fetch.js:checkForNonXmlChars()` . Rather than an empty string bein...
I *think* I was the originator of this section of the code - I certainly wrote the original `fn:transform()` code. But it's probably about 3-4 years ago now, so I can't recall details I fear. But there must have been some reason to do th... Bug #5039: Chaining two XSLTs where the first creates a fragment with two element children works under Node.js but not in the browserWhen I run the code
const SaxonJS = require("saxon-js")
const xslt1Source = `<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
When writing the code for the XX compiler, there are so many corner cases (many thousands of them?) that might need to be satisfied that it’s pretty much impossible to cover them all. In this case during the XPath compiling of global var... Bug #5338: XX Compiler reports "Unknown accumulator NNNNN" when an accumulator-before or -after call occurs in a global variableHello, we have a pipelines and software using Saxon HE (Java) variant and the SaxonJS variant with NodeJS to build CLI tooling. We have encountered a problem in which running Saxon HE will process a collection of XSL transforms in shell ...
If I read the spec correctly
>` (//A, //B) | ()`
should return them in document order, unless some (incorrect) optimisation has elminated the empty sequence. See https://www.w3.org/TR/xpath-31/#combining_seq Support #5200: How can I check if the nodes in any XPath result are in document order? Or put them in document order?Some XPath expressions, such as
do not return the nodes in document order.
Is there a function I can call to check if the nodes are in document order? Or a function that puts them in document order?
I use XPathSelect...
Also available in: Atom