Skip to content

Commit

Permalink
Add post XSpec v3.0.3 release (#16)
Browse files Browse the repository at this point in the history
* Add post for XSpec v3.0.3

* Minor updates

- Write macOS with lowercase m
- Don't mention inactive discussion list

* Finalize v3.0.3 release date

Also synchronize content with final v3.0.3 Release Notes
  • Loading branch information
galtm authored May 5, 2024
1 parent fd9cb2f commit a3c9dfc
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ XSpec is a unit test and [behaviour-driven development](http://en.wikipedia.org/

XSpec consists of a syntax for describing the behaviour of XSLT, XQuery, or Schematron code, and some code that enables you to test the code against those descriptions.

To get started, check out the installation instructions for [MacOS/Linux](https://github.com/xspec/xspec/wiki/Installation-on-Mac-and-Linux) and [Windows](https://github.com/xspec/xspec/wiki/Installation-on-Windows) and how to [write your first XSpec test](https://github.com/xspec/xspec/wiki/Getting-Started).
To get started, check out the installation instructions for [macOS/Linux](https://github.com/xspec/xspec/wiki/Installation-on-Mac-and-Linux) and [Windows](https://github.com/xspec/xspec/wiki/Installation-on-Windows) and how to [write your first XSpec test](https://github.com/xspec/xspec/wiki/Getting-Started).
2 changes: 1 addition & 1 deletion content/help/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
title = "Get Help"
+++

Check out the XSpec documentation in the [wiki](https://github.com/xspec/xspec/wiki). If you have any question which is not answered in the wiki, feel free to [raise an issue](https://github.com/xspec/xspec/issues) or post it in the [XSpec discussion list](http://groups.google.com/group/xspec-users).
Check out the XSpec documentation in the [wiki](https://github.com/xspec/xspec/wiki). If you have any question that is not answered in the wiki, feel free to [raise an issue](https://github.com/xspec/xspec/issues).
36 changes: 36 additions & 0 deletions content/posts/xspec_303_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
date: 2024-04-17
linktitle: Release XSpec v3.0.3
title: Release XSpec v3.0.3
weight: 6
categories: [ "Release" ]
tags: ["v3.0.3"]
---

<a href="https://github.com/xspec/xspec/issues/1766"><img align="right" src="https://user-images.githubusercontent.com/10128303/262700963-1a1e0fda-f335-4c90-9f8a-f72c5ece6c27.png" width="100px" alt="XSpec logo proposed and discussed in #1766" /></a>

## Release XSpec v3.0.3
Release v3.0.3 upgrades its connections with related software. Support for testing Schematron schemas now uses SchXslt as the built-in Schematron implementation. XSLT code coverage is compatible with Saxon 12.4 or later. These are the highlights of XSpec v3.0:

#### Common to Languages Under Test

- XSpec is tested with Saxon 12, 11, and 10, while use of Saxon versions earlier than 12.4 is not recommended.
- XSpec no longer supports Saxon 9.
- When comparing XML, you can ignore some or all attributes using three-dot syntax `x:attrs="..."`.
- XPath function items stored in global variables are testable using syntax `<x:call function="my-function" call-as="variable">`.

#### XSLT

- XSLT code coverage feature is compatible with Saxon 12.4. **Compatibility note:** This upgrade is not backward compatible with earlier Saxon versions. Also, Saxon 12.4 does not report some `xsl:sequence` instructions that are actually hit.
- XSpec experimentally supports testing with XSLT 4.0 and XPath 4.0. Set `xslt-version="4.0"` on `x:description`, and use an XSLT processor that has support for 4.0 enabled.

#### XQuery

- XSpec experimentally supports testing with XQuery 4.0 and XPath 4.0. Set `xquery-version="4.0"` on `x:description`, and use an XQuery processor that has support for 4.0.

#### Schematron

- SchXslt 1.9.5 replaces the skeleton implementation because the latter is no longer maintained. **Compatibility note:** Some XSpec tests might produce different results with SchXslt.
- XSpec scenarios can verify the text of messages or diagnostics. Add expected text inside `x:expect-assert` or `x:expect-report`.

Many thanks to all the XSpec contributors who made this release possible! They are listed in the [release notes](https://github.com/xspec/xspec/releases/tag/v3.0.3).

0 comments on commit a3c9dfc

Please sign in to comment.