Project

Profile

Help

Blog

SaxonJS 2.4

SaxonJS 2.4 is released for both Node.js and the browser
Added by Norm Tovey-Walsh about 2 months 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


Comments

Please register to add a comment

Saxon-JS 2.3

Saxon-JS 2.3 is released for both Node.js and the browser
Added by Norm Tovey-Walsh 11 months 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 1 year 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 over 5 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-4/4)

    Also available in: Atom