Skip to content

Commit db8fd1c

Browse files
chore(dependencies): bump Saxon-HE from 9.9.1-8 to 10.9 (#432)
according to the [Saxonica](https://www.saxonica.com), the authors of `Saxon HE`, the v9 is no longer maintained. so lets upgrade. > [...] current actively maintained versions of Saxon-HE: [10](https://github.com/Saxonica/Saxon-HE/blob/main/10), [11](https://github.com/Saxonica/Saxon-HE/blob/main/11), and [12](https://github.com/Saxonica/Saxon-HE/blob/main/12). tried to upgrade to v12 or v11 without success. so i chose the latest successful version: v10.9
2 parents aaa7ce4 + fc03b7a commit db8fd1c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docgen/xml/gen.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,27 @@ THIS_PATH="$(realpath "$(dirname "$0")")"
55
SCHEMA_PATH="$(realpath "$THIS_PATH/../../schema")"
66
DOCS_PATH="$THIS_PATH/docs"
77

8-
SAXON_JAR='Saxon-HE-9.9.1-8.jar'
8+
SAXON_VERSION='10.9'
99

10-
rm -f -R docs
10+
# --
11+
12+
13+
rm -rf "$DOCS_PATH"
14+
15+
16+
SAXON_JAR="Saxon-HE-${SAXON_VERSION}.jar"
1117
if [ ! -f "$THIS_PATH/$SAXON_JAR" ]; then
1218
curl --output-dir "$THIS_PATH" -O \
13-
"https://repo1.maven.org/maven2/net/sf/saxon/Saxon-HE/9.9.1-8/$SAXON_JAR"
19+
"https://repo1.maven.org/maven2/net/sf/saxon/Saxon-HE/$SAXON_VERSION/$SAXON_JAR"
1420
fi
1521

22+
1623
generate () {
1724
version="$1"
1825
title="CycloneDX v$version XML Reference"
1926
echo "Generating: $title"
2027

28+
## docs: https://www.saxonica.com/documentation10/index.html#!using-xsl/commandline
2129
java -jar "$THIS_PATH/$SAXON_JAR" \
2230
-s:"$SCHEMA_PATH/bom-${version}.xsd" \
2331
-xsl:"$THIS_PATH/xs3p.xsl" \

0 commit comments

Comments
 (0)