Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.

Blog

SaxonJS 2.5

SaxonJS 2.5 is released for both Node.js and the browser.
Added by Norm Tovey-Walsh about 2 years ago

Saxonica is pleased to announce the release of SaxonJS 2.5 for both Node.js and the browser.

The SaxonJS 2.5 release is a maintenance release containing about a twenty bug fixes.

Notable bug fixes in this SaxonJS release:

  • Fixed #5695 where sorting produced different results on Firefox and Chromium-based browsers
  • Fixed #5677 where the XX compiler didn’t handle literal sequences of some atomic types
  • Fixed #5667 where a newline at the beginning of a string sent to ixsl:eval caused an error
  • Fixed #5653 where an empty array was not deemed empty in xsl:where-populated
  • Fixed #5597 where a ixsl:schedule-action without a child xsl:call-template failed at runtime
  • Fixed #5563 where element content in was allowed xsl:copy-of when a select attribute was also provided
  • Fixed #5560 where “intersect” didn’t work correctly on attributes, and some related issues
  • Fixed #5554 where some initialization errors were not handled correctly on asynchronous transforms
  • Fixed #5544 where setting logLevel on SaxonJS.transform had a global effect
  • Fixed #5494 where the ‘parent’ property wasn’t being correctly exposed in the API
  • Fixed #5493 where some forms of secondary result documents weren’t supported correctly
  • Fixed #5490 where chained transformations raised an runtime type error
  • Fixed #4704 where parse-xml failed on the browser if a CDATA section included an XML declaration
  • Fixed #5673 where ixsl:set-property couldn’t access properties with names that contained a “.”
  • Fixed #5662 where a spurious runtime error could be generated by an invalid axis step
  • Fixed #5389 where in-scope namespaces could be constructed incorrectly
  • Fixed #5083 where we added support for data: and blob: URIs in the browser

Note: if you’re using Saxon-EE 11 to produce SEFs for use with SaxonJS 2, please use version 11.3 or later, as a number of bugs in compiling to SEF were fixed in the 11.3 maintenance release.

SaxonJS 2.4

SaxonJS 2.4 is released for both Node.js and the browser
Added by Norm Tovey-Walsh over 2 years ago

Saxonica is pleased to announce the release of SaxonJS 2.4 for both Node.js and the browser.

The SaxonJS 2.4 release is a maintenance release containing about 30 bug fixes. If you’re using Saxon-EE 11 to produce SEFs for use with SaxonJS 2, please use version 11.3 or later, as a number of bugs in compiling to SEF were fixed in the 11.3 maintenance release.

Notable bug fixes in this SaxonJS release:

  • 4755 Pattern x/(a | b) is rejected
  • 5036 key() doesn't work on ixsl:page() after ixsl:replace-content?
  • 5039 Chaining two XSLTs in the browser doesn’t work
  • 5042 xslt3 fails to type check return values from templates
  • 5066 Element.localName is not implemented in saxon-js 2.3
  • 5074 "XML Parsing Error" when loading SEF file with Saxon-JS 2.3
  • 5079 resolve-uri doesn't take static-base-uri of included module into account, even with relocate:off Saxon EE compiled/exported XSLT
  • 5081 The omit-xml-declaration serialization property was not always respected
  • 5162 Failure when using collations in SaxonJS.XPath.evaluate
  • 5190 Incorrect handling of shadowed variable/parameter names in some cases
  • 5193 Problems with the arrow operator and fold-left
  • 5230 Difficulty using xsl:xpath-default-namespace in conjunction with the key attribute of xsl:map-entry
  • 5338 Problem with accumulator access from global variables
  • 5387 Adaptive serialization only escapes the first quotation mark in a string
  • 5390 document() doesn't remove duplicates
  • 5414 Saxon-JS 2.3 doesn't reject xsl:map-entry key="()"
  • 5430 Use of deliverResultDocument in SaxonJS.transform options causes error "Unsupported result-document destination undefined"
  • 5458 Replacing an HTML document's root element leaves duplicated/empty head/body elements
  • 5462 Add "-relocate" command line option for XX compiler (xslt3 package)
  • 5464 unparsed-text() with an empty file throws a TypeError
  • 5471 Results object from asynchronous SaxonJS.transform does not contain stylesheetInternal

For a more detailed summary of bug fixes, see the release notes: https://www.saxonica.com/saxon-js/release-notes.xml

Saxon-JS 2.3

Saxon-JS 2.3 is released for both Node.js and the browser
Added by Norm Tovey-Walsh about 3 years ago

Saxonica is pleased to announce the release of Saxon-JS 2.3 for both Node.js and the browser.

The Saxon-JS 2.3 release is a maintenance release containing bug fixes. Notable bug fixes in this release:

  • 4748, support additional headers with SaxonJS.getResource()
  • 5008, resolved XX compiler bug that caused spurious errors
  • 5010, make sure base URI has a trailing “/” when used with -xp command line option
  • 5017, prefer XML in content negotiation with the document() function
  • 5019, fix bug where xml: attributes caused errors in HTML
  • 5021, a number of issues involving options to SaxonJS.getResource() and SaxonJS.transform were resolved
  • 5024, resolved XX compiler bug that allowed expand-text to slip into imported modules
  • 5031, clarify how dots in names are interpreted in ixsl:get and ixsl:set-property
  • 5037, resolved XX compiler bug with respect to AVTs
  • 5038, resolved XX compiler bug where the base URI could incorrectly be null
  • 5046, throw errors if ixsl: functions try to navigate “through” dotted names where the key is absent
  • 5058, update the Closure compiler to include DOM 2 functions “createElementNS” and similar as externs so that they don’t get renamed.

For a more detailed summary of bug fixes, see the release notes: https://www.saxonica.com/saxon-js/release-notes.xml

Saxon-JS 2.1

Saxon-JS 2.1 is released for both Node.js and the browser
Added by Norm Tovey-Walsh over 3 years ago

Saxonica is pleased to announce the release of Saxon-JS 2.1 for both Node.js and the browser.

The latest version, Saxon-JS 2.1, is a maintenance release, focused mostly on bug fixes, although there are a few new added features:

  • On Node.js, the command line option -json has been added as an alternative to -s. It allows the principal input to be a JSON document. A corresponding API change allows this to be done programmatically.
  • On Node.js, the -xp command line option has been added, somewhat experimentally, to allow an XPath expression to be evaluated directly over an XML document.
  • On the browser, the set of Window events that an XSLT event handler can respond to has been extended to include the resize and focus events.

This release includes fixes for more than 60 bugs in areas related to JavaScript method invocation, transformation chaining, namespace handling, initial templates and the global context item, HTML responses to scheduled actions, default collations, regular expressions, higher order functions, resource headers, encoding, and serialization.

For a more detailed summary of bug fixes, see the release notes: https://www.saxonica.com/saxon-js/release-notes.xml

Saxon JS Release announcements (8 comments)

Announcements of Saxon JS product releases
Added by Community Admin almost 8 years ago

To receive notification of new Saxon JS product releases, click on "Watch".

This blog will be used only for routine announcement of new major and minor releases of the software.

    (1-6/6)

    Also available in: Atom