From 5a4c6af543c4ac44c66fc6869dba8c179ff88662 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Wed, 17 Jan 2024 08:46:41 +0100 Subject: [PATCH] Switch merge to use XSLT 3.0 --- .github/workflows/ci.yml | 2 +- xsl/1/xliff-merge.xsl | 42 ++++++++++++++++++---------------- xsl/2/xliff-merge.xsl | 49 ++++++++++++++++++++-------------------- 3 files changed, 48 insertions(+), 45 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95c6818..99a6f76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: Run DITA-OT Unit Test uses: jason-fox/dita-unit-test-action@master with: - dita-ot-version: '4.0' + dita-ot-version: '4.1.2' plugin: 'fox.jason.translate.xliff' env: COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} diff --git a/xsl/1/xliff-merge.xsl b/xsl/1/xliff-merge.xsl index 5eb6bd1..97953fd 100644 --- a/xsl/1/xliff-merge.xsl +++ b/xsl/1/xliff-merge.xsl @@ -55,10 +55,28 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -68,20 +86,4 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xsl/2/xliff-merge.xsl b/xsl/2/xliff-merge.xsl index 2aa94f9..d92e695 100644 --- a/xsl/2/xliff-merge.xsl +++ b/xsl/2/xliff-merge.xsl @@ -66,15 +66,31 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -85,19 +101,4 @@ - - - - - - - - - - - - - - - \ No newline at end of file