Skip to content

Commit

Permalink
Merge pull request #621 from ndw/iss-616
Browse files Browse the repository at this point in the history
Update version number in step libraries
  • Loading branch information
ndw authored Sep 2, 2024
2 parents 737ac82 + bbcb895 commit b0213fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,18 @@ task make_etc() {
// ======================================================================
// We need the core RNG grammars

task xproc_schemas(dependsOn: [ "download_core30" ]) {
task xproc_schemas(dependsOn: [ "download_core31" ]) {
// nop
}

task download_core30(type: Download) {
src "$schemaBaseUri/lib/core30.rng"
dest file("build/core30.rng")
task download_core31(type: Download) {
src "$schemaBaseUri/lib/core31.rng"
dest file("build/core31.rng")
}
download_core30.onlyIf { !file("$buildDir/core30.rng").exists() }
download_core31.onlyIf { !file("$buildDir/core31.rng").exists() }

[ "rnc", "rng" ].each { ext ->
["xproc", "xproc10", "xproc30"].each { base ->
["xproc", "xproc10", "xproc30", "xproc31"].each { base ->
Task t = task "download_${base}_${ext}"(type: Download) {
src "$schemaBaseUri/relax-ng/$base.$ext"
dest file("build/$base.$ext")
Expand Down
2 changes: 1 addition & 1 deletion tools/xsl/rngsyntax.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<xsl:variable name="pattern" select="@name"/>

<xsl:variable name="schemafile" select="'../../build/xproc30.rng'"/>
<xsl:variable name="schemafile" select="'../../build/xproc31.rng'"/>

<xsl:variable name="theschema" as="document-node()">
<xsl:choose>
Expand Down
2 changes: 1 addition & 1 deletion tools/xsl/typed-pipeline-library.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</xsl:variable>

<xsl:template match="/">
<p:library version='3.0'>
<p:library version='3.1'>
<xsl:sequence select="$lib"/>

<xsl:for-each select="key('id','std-required')//p:declare-step">
Expand Down

0 comments on commit b0213fc

Please sign in to comment.